Domain discovery with identity provider flow
How work now:
1. User open login page which uses default organization's settings of company A with IDP options of A
2. Enter his email of company B
-- here Zitadel determines user's organization by domain in email.
3. enter password
4. User logins to company B
Question: is it possible to show IDP options for login after step 2(determining user' company) to show login options of company B?
Is it possible via custom login page(zitade/typescript)?
3 Replies
hey @пажилое калечко based on what I understood, this is the NEW step you want.
1. User open login page which uses default organization's settings of company A with IDP options of A.
2. Enter his email of company B
2.1 detect the email of comapny B and show ALL IDP Options AND password field too
3. user logins to company B
right?
Right. For I have just forced user of B login only with IDP via setting what is good flow actually.
I am not sure that corporate users should have several login options
hi @пажилое калечко domain discovery would work for your case.
User open login page which uses default organization's settings of company A with IDP options of A. (this could be your default login page)
Enter his email of company B/C/D
2.1 detect the email of comapny B and show ALL IDP Options AND password field too. (Domain Discovery happening here)
user logins to company B/C/D.(different login setup based on the user's orgs)