-
Notifications
You must be signed in to change notification settings - Fork 378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
switch to authenticate based on the cloud account #8180
base: master
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
todos:
|
I ran through a bunch of use cases to test. Not sure if testing on localhost produces the same results as being on posthog.com (same domain?), but here's what I tested: ✅ Creating a new community account (while signed into Cloud) ❌
❌ Updating email address on Cloud
❌ Signing into community when also not signed into Cloud ❌ Being automatically signed into the community when signed into Cloud
But most importantly, this misses the ultimate goal of intentionally having separate emails for Cloud and community logins and letting users link them. When they leave a job, we want them to be able to take their community account with them. The association between the Cloud and community user will need to be broken, but they should be able to use their community account independently and link it to another Cloud account in the future. You may also want to link multiple Cloud accounts in the future, as well. We had originally talked about auth0, which has a plugin for Strapi and would be nice so people can connect their community account with Github (or others). What's the context for going this route instead? |
The idea of support was using their cloud account on the forum as well, so we can generate login-as-user and session replay links. Essentially removing the difference between an in-app ticket and a community question.
Currently most community accounts use the same company email they use for the cloud account as well. We would need to ask users for their personal email when logging into the forum for the first time and eventually move the community account to that cloud account as well when using a different cloud account.
In what cases would you need to link multiple cloud accounts? From the support-side we intentionally do not want multiple accounts connected.
I don't think we need to break the Cloud <> Forum account connection, instead they should transfer their community account to another cloud instance. We can do this manually right now, but what would an automated transfer look like? We ask for their personal email when logging into the forum for the first time. If the community account exists already we link them? |
Changes
related #5847
replaces this PR: #7159