# Passwordless flow with New Universal Login

**URL:** <https://community.auth0.com/t/passwordless-flow-with-new-universal-login/100250>\
**Category:** Get Help\
**Tags:** new-universal-login-experience, login-experience\
**Created:** [February 11, 2023, 2:10pm UTC](https://community.auth0.com/t/passwordless-flow-with-new-universal-login/100250 "2023-02-11T14:10:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Muttley](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/muttley/32/44559_2.png) [@Muttley](https://community.auth0.com/u/Muttley)\
**Post date:** [February 11, 2023, 2:10pm UTC](https://community.auth0.com/t/passwordless-flow-with-new-universal-login/100250/1 "2023-02-11T14:10:17Z")

</div>

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:

1. 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)

 ![Screenshot 2023-02-11 at 14.41.17](https://global.discourse-cdn.com/auth0/original/3X/2/3/23feed92ccf362d66b74ef624eee665434e48ba7.png)

1. 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

 ![Screenshot 2023-02-11 at 14.41.28](https://global.discourse-cdn.com/auth0/original/3X/6/6/66bbfb3b3949541a58c09d32bb4d763bc2f3261b.png)

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

---

<div class="post-metadata">

**Author:** ![nathan.jenkins](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nathan.jenkins/32/44577_2.png) [@nathan.jenkins](https://community.auth0.com/u/nathan.jenkins)\
**Post date:** [February 12, 2023, 5:36pm UTC](https://community.auth0.com/t/passwordless-flow-with-new-universal-login/100250/2 "2023-02-12T17:36:01Z")

</div>

Hi @Muttley ,

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](https://auth0.com/docs/authenticate/passwordless/passwordless-with-new-universal-login).

Double check that you have [updated the application](https://auth0.com/docs/authenticate/passwordless/passwordless-with-new-universal-login#update-your-application) to specify the connection to use.

Kind Regards,  
Nathan

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [February 26, 2023, 5:36pm UTC](https://community.auth0.com/t/passwordless-flow-with-new-universal-login/100250/3 "2023-02-26T17:36:33Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![gerald.czifra](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gerald.czifra/32/75301_2.png) [@gerald.czifra](https://community.auth0.com/u/gerald.czifra)\
**Post date:** [November 23, 2026, 8:51pm UTC](https://community.auth0.com/t/passwordless-flow-with-new-universal-login/100250/4 "2026-11-23T20:51:02Z")

</div>

Hi there!

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](https://auth0.com/docs/authenticate/passwordless/passwordless-with-universal-login)**.

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 :

1. In the **Auth0 Dashboard** , navigate to **Applications \> Applications** and select your application;

2. Open the **Connections** tab;

3. Toggle **Off** all database connections (e.g., `Username-Password-Authentication`);

4. 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.

- **Using the Auth0 SPA SDK / React SDK:**

```auto
auth0 = await createAuth0Client({
     domain: config.domain,
     client_id: config.clientId,
     connection: "email"
  });

```

**Direct** `/authorize` **URL:**  
[Pass `connection=email`](https://auth0.com/docs/authenticate/passwordless/passwordless-with-universal-login#:~:text=To%20specify%20a-,Passwordless%20connection,-during%20login%2C%20you) in your query parameters:

```auto
https://{yourDomain}/authorize?
  client_id={yourClientId}&
  response_type=code&
  redirect_uri={yourCallbackUrl}&
  scope=openid profile email&
  connection=email

```

We hope this helped with your implementation!

Have a great one,  
Gerald
