Switch between password and passwordless login

Hi @Beliskner

Welcome to the Auth0 Community!

How is the Auth0 SSO setup exactly on the new platform? Does Auth0 act as the main IdP or as an external one?

  1. Are there ways to switch password and passwordless login screens (other then what I described).

There isn’t a straight forward or out of the box solution regarding such an approach, by default, Universal Login will not be able to work with both Database and Passwordless connections unless they are specified as a parameter in the /authorize call. Your approach appears to be quite a sane one and a pretty good workaround for including all of these alternatives inside universal login.

  1. Where does Auth0 put that connection parameter when redirects to /u/login/identifier?state=? If I have more understanding maybe I will find other ways.

Unfortunately, you will be unable to pass in a parameter when reaching the /u/login endpoint. In your situation, the best solution regarding having this resolved would be to have the SSO button redirect to each specific connection type by having different /authorize calls linked to them. As you have mentioned, if you do not have control over the platform, this is hard to achieve indirectly.

  1. Can ACUL help me with that switching between login screens?

The best approach regarding your implementation would indeed to be using ACUL. Basically:

  • The external platform would redirect to your /authorize endpoint without needing to specify the connection parameter.
  • Using ACUL, you will render a simple screen asking to either Enter Email Address Or Username or Choose Another Method
  • If the user chooses to continue with the email or username, continue with the standard identifier first flow
  • If the user chooses another method, use a custom JS script in order to redirect to a new /authorize call passing in the specific connection parameter

In my opinion, this approach would be the best one since it allows you to meet the requirements which where restricted by the SSO flow.

If I can help with anything else, please let me know!

Kind Regards,
Nik