Login Options Passwordless and Password

Hi @johnangelo.agravante

Welcome to the Auth0 Community!

I understand you are inquiring about configuring both Passwordless and Username/Password Connections for a single application within Auth0.

This configuration is currently not supported out-of-the-box in Auth0.

Root Cause
The primary reason for this limitation is that users can maintain multiple Auth0 accounts under the identical email address across different Connections. For example, a user could possess an account within a Passwordless Connection while simultaneously creating a distinct account in a Username-Password Database (DB). A Passwordless Connection in Auth0 is treated as a distinct connection type. Consequently, you cannot configure a standard Database to function as Passwordless, as a Passwordless Connection is structurally equivalent to a standard Database, Social Login Connection, or an Enterprise Connection.

Official Workaround: Custom User Interface Implementation
To achieve the described authentication flow without relying exclusively on pre-built Auth0 integrations, we recommend the following custom implementation:

  1. Create a custom User Interface (UI) within your application.

  2. Configure the custom UI to evaluate the authentication methods associated with the user and the connection_id of the Connection they are attempting to log in from.

  3. Develop a custom logic flow that prompts the user for a specific Authenticator based on the retrieved connection data.

  4. Implement User Account Linking to effectively manage instances where users maintain multiple accounts under a single email address. Please note that the architectural complexity of this custom build increases rapidly to accommodate all potential scenarios.

Official Documentation and Resources
For further context and guidance on Auth0 Passwordless and Universal Login capabilities, please reference the following Auth0 Developer Documentation and Community threads:

We hope this helped overcome the current roadblock, please do not hesitate to reach out to us in the future, for any other issues or requests.

Have a great one!
Gerald