I’ve previously used Lock successfully for passwordless authentication using email.
I would like to replace my Lock implementation with New Universal Login.
The issue I have is as follows:
User clicks Login button from my app and is successfully presented with my universal login dialogue box with email address prompt (correct and working as expected)
User enters email address and clicks Continue. My expected behavious is that:
(a) user receives email with passcode
(b) user is presented with universal login “enter passcode” screen
(c) user enters password and successfully logs in to my app
The actual behaviour in Step 2 is that the user is presented with a universal login username and password dialogue box, and not a passwordless code dialogue box.
Is there a way to force all logins to use passwordless, or can you advise on what is incorrect in the flow? When I use Lock instead of Universal Login passwordless works as expected. Thanks
Yes this should be possible now with New Universal Login, please ensure you have followed all the steps for configuration shown here Passwordless with New Universal Login.
Wanted to provide an update on this scenario in case others encounter the same issue.
I understand that you are looking to replace your Lock implementation with the New Universal Login and force all logins to use Passwordless.
Root cause
The reason your users are being prompted for a password is that Auth0 is resolving the email to an active Username-Password Database connection enabled on your application instead of your Passwordless connection.
When both a standard Database connection and a Passwordless connection are enabled for the same application, New Universal Login (NUL) defaults to the password prompt unless you explicitly force or isolate the passwordless flow.
Official Solution
Depending on whether your application needs to support passwords for other users, choose the solution below that fits your architecture:
Option 1: Disable Database Connections (Recommended for Passwordless-Only Apps)
If your application is intended to be 100% passwordless, the cleanest fix is to remove the password database from the application :
In the Auth0 Dashboard, navigate to Applications > Applications and select your application;
Open the Connections tab;
Toggle Off all database connections (e.g., Username-Password-Authentication);
Ensure the email connection under Passwordless is toggled On.
When only the passwordless connection is enabled, New Universal Login automatically routes the user directly to the passcode (OTP) flow without prompting for a password.
Option 2: Explicitly Pass the connection Parameter
If your tenant or application must keep a database connection enabled alongside passwordless, you must explicitly instruct Auth0 to use the passwordless connection at the start of the authorization flow.