The flow looks like this: For example, a user usually logs in via GitHub but wants to log in via Google. They attempt to log in with Google but are redirected to ChangeAuthProviderView, where they see their old auth provider and the new one. (At that moment, the backend creates an AuthProviderChangeRequest, saving the old and new providers along with other information.) The user can either confirm the change or cancel. With the first option, they will be asked to log in with their usual provider (Google), and after logging in, their provider will be changed to GitHub.
I also need to add a message about changing providers and e2e tests
P.S I want to merge it with the SSO branch because there are a few changes in my PR that we make in the SSO branch but not in the main branch
Added the ability to change the auth provider.
The flow looks like this: For example, a user usually logs in via GitHub but wants to log in via Google. They attempt to log in with Google but are redirected to
ChangeAuthProviderView
, where they see their old auth provider and the new one. (At that moment, the backend creates anAuthProviderChangeRequest
, saving the old and new providers along with other information.) The user can either confirm the change or cancel. With the first option, they will be asked to log in with their usual provider (Google), and after logging in, their provider will be changed to GitHub.I also need to add a message about changing providers and e2e tests
P.S I want to merge it with the SSO branch because there are a few changes in my PR that we make in the SSO branch but not in the main branch