Hi all,
Under Login experience, I am using “Business Users” (users must be a member of an organization to access the application - according to auth0) for “Type of Users”.
Then under “Login Flow”, I have selected “Prompt for Organization”. Auth0 explains: Users are prompted for the organization they need to login to first.
Then under “Organization Discovery”, I chose “Prompt for Organization Email”. Auth0 explains: Users are prompted for their email address associated with their organization.
The flow preview shows 3 steps:
- Step 1: form with email address
- Step 2: A choice between two organizations “Acme Inc.” and “Big Co.”
- Step 3: Success
What I understand from this is that my users will first enter their email, then another page will ask them to choose between all organizations they belong to, after choosing, they would have to enter their password, then login.
However, it is not currently working like that. Whenever I call `auth0Client.startInteractiveLogin` in my Nuxt 4 app, I get presented an auth0 email and password login form. I enter both, then I get username and password are incorrect.
However, if I choose Business Users > No Prompt (your application handles sending us the required parameters), and I do send the organization Id along with the `auth0Client.startInteractiveLogin` request, it works fine. It shows the organization’s logo and the user can successfully log in.
Did I misunderstood how to use the Business Users login experience? Was the first behavior expected?
Thanks!