sentry icon indicating copy to clipboard operation
sentry copied to clipboard

Change Method Of Linking SSO Identities To Not Require Passwords

Open Fwang36 opened this issue 6 months ago • 3 comments

Problem Statement

When implementing SSO to an org, if the user assigned to the SSO provider already has a Sentry account, we prompt the user to confirm their account by providing the username and password of the account which we then link their existing Sentry account with their SSO identity. We do not require a user to create a password when the account is created via SSO. The leads to situations where many Sentry accounts do not have passwords and therefore unable to confirm their account by providing a username and password.

For example, If an org were to migrate to a new SSO provider, users who already have Sentry accounts would need to link to a new identity. If they've only signed in via SSO, they would not have a username and password, and would get stuck at the link identity page where they are confused by what password to provide when their account has none.

Example Prompt -

Image

Solution Brainstorm

Can we remove that prompt altogether? If we don't require a password for an account created via SSO sign in, do we need to require a password when we link the identity to a new SSO?

Or is just an email confirmation enough?

For now, can we add some messaging to the prompt for users that do not have a password, that they can create a password through the account recovery flow? The prompt currently assumes all users have a username and password, but that's not the case.

Product Area

Sign In

Fwang36 avatar Aug 08 '24 04:08 Fwang36