-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Onboarding experience with SSO #26025
Comments
Not really? Existing users who haven't gone through the onboarding flow would be met with it, e.g. existing SSO users merely signing in again, or users who registered on a Element android/ios or non-Element client. |
May this be a different issue then? Something like „Onboarding on first Element Web login“? We could store something in the account data to find out. Input from product is required here anyway in my opinion. |
This is becoming important because it also affects OIDC-native logins |
Well, in the future with MAS, every login will be an "SSO-login", if I'm not mistaken. So we need to find a way to show the onboarding screens in that case as well. What are the options? Why did we choose registration time? I could imagine to show it always and give the user the ability to say "don't show this again". |
Unfortunately your guess is as good as mine, everyone involved in that work & review is no longer around matrix-org/matrix-react-sdk#9083 There is nothing in the Matrix API or SSO login that lets us differentiate a new account from an existing one, nor any way to get registration time for an account. |
Ok, got it. What about showing it always and storing permanent dismiss in the account data or so? Let's discuss other options in a meeting if it isn't that easy. |
@pmaier1 sounds good, there is currently no dismiss interaction, could you suggest who can be tasked with designing such? |
👍 who can help here @daniellekirkwood @amshakal ? |
@pmaier1 Synapse does flag new SSO logins and register new SSO_IDS as new accounts before mapping users and redirecting back to client. We can pass information along with loginToken in URL for registration time or simply just pass newUser field in queryparam with loginToken and fetch those in Just quick thoughts as I was also wondering the onboarding didn't work with SSO. |
@MuhammadHadiofficial that'd need spec work as |
Your use case
What would you like to do?
Element has a pretty nice onboarding screen but it only works when signing up via password. It would be nice to be able to do this with SSO too.
Why would you like to do it?
To set up an organization Matrix server and have Element encourage people to install mobile apps, enable notifications, etc.
How would you like to achieve it?
By having a config.json option to enable the onboarding experience when logging in for the first time when using single-sign on. Element can know the account is brand new if it's missing account data from it. It would also be nice to be able to specify an option from the coworkers vs friends question, i.e. have it say "talk with your classmates" without people having to choose they'll use it for work.
Have you considered any alternatives?
It may be already possible somehow by using templates and adding template code for welcome.html.
Additional context
No response
The text was updated successfully, but these errors were encountered: