Open gabrc52 opened 1 year ago
Element can know the account is brand new if it's missing account data from it
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
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 coworkers" 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