2-step login flow and organization question
Hi!
I am trying to implement a 2-step login flow where the user first inputs the email address, then depending on the email domain and if the user is already provisioned follow-up with the second step.
My questions:
I am trying to implement a 2-step login flow where the user first inputs the email address, then depending on the email domain and if the user is already provisioned follow-up with the second step.
My questions:
- is there a built-in solution to fetch (user/organization) just by an email without an existing session?
- it seems the sso plugin can handle linking an sso provider to an organization, so that once i know who the user is, and in which organization he/she is a member of, I can show sso provider buttons on the sign-in screen. Except, it is not disclosed in the docs -seemingly- how one would link a provider to an organization?