element-hq / element-web

A glossy Matrix collaboration client for the web.
https://element.io
GNU Affero General Public License v3.0
11.02k stars 1.96k forks source link

Onboarding experience with SSO #26025

Open gabrc52 opened 1 year ago

gabrc52 commented 1 year ago

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

t3chguy commented 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.

weeman1337 commented 1 year ago

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.

sandhose commented 11 hours ago

This is becoming important because it also affects OIDC-native logins