Single Page Application (SPA) and SSO with Single DB - Username-Password-Authentication

Hi, Auth0 Community!

I’ve been reading multiple docs regarding SSO in the last couple of days, but I can’t seem to find out the config that fits our requirement.

We want to have a SSO experience on our following setup:

Context:

  • Single-Page App
  • Using Universal Login
  • [Login Flow] Organization Prompt Enabled
  • Username-Password-Authentication

We have 2 web-apps that utilizes the SPA - currently, it prompts the user twice.

Steps:

  1. User navigates to webapp1.com
  2. User is then automatically navigated to the Universal Login
  3. Login asks to enter Organization Name → User Inputs desired Organization then Continue
  4. User inputs email and password then Continue
  5. User gets navigated to the webapp1.com
  6. User opens a new tab to access webapp2.com
  7. User is then automatically navigated again to the Universal Login.
  8. Login asks to enter Organization Name → User Inputs the same Organization then Continue
  9. User inputs the same email and password.
  10. User gets navigated to the webapp2.com

We’re aiming to have a SSO experience between these 2 web-apps. Potentially, skipping steps 7-9.

What’s the best way to achieve this?

Thanks!
Cy

Solution [?]:
Ohh upon further reading - seems like this is the expected flow as per this: