# Can You Add a login\_hint to New Universal Login Using Passwordless Flow?

**URL:** <https://community.auth0.com/t/can-you-add-a-login-hint-to-new-universal-login-using-passwordless-flow/99432>\
**Category:** Get Help\
**Tags:** new-universal-login-experience, login-experience\
**Created:** [February 1, 2023, 4:28am UTC](https://community.auth0.com/t/can-you-add-a-login-hint-to-new-universal-login-using-passwordless-flow/99432 "2023-02-01T04:28:53Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![wspence](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/wspence/32/44210_2.png) [@wspence](https://community.auth0.com/u/wspence)\
**Post date:** [February 1, 2023, 4:28am UTC](https://community.auth0.com/t/can-you-add-a-login-hint-to-new-universal-login-using-passwordless-flow/99432/1 "2023-02-01T04:28:53Z")

</div>

Hi. I am working in React, and we are using the New Universal Login and a passwordless flow, but when I add a login\_hint to my parameters for loginWithRedirect, I get no email hinting in the Universal Login. My Code looks like this:

```auto
const handleLogin = async () => {
    await loginWithRedirect({
      prompt: "login",
      appState: {
        returnTo: "/enrollment/qualify",
      },
      login_hint: "bill@test.com",
    });
  };

```

If I hover over the login\_hint, VS Code says that “This currently only affects the classic Lock experience.” We aren’t using classic, so is that why this is not working? I would just be a little surprised if there was no way to prefill the email address in the New Universal Login. Thanks!

---

<div class="post-metadata">

**Author:** ![SaqibHussain](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/saqibhussain/32/42924_2.png) [@SaqibHussain](https://community.auth0.com/u/SaqibHussain)\
**Post date:** [February 1, 2023, 4:23pm UTC](https://community.auth0.com/t/can-you-add-a-login-hint-to-new-universal-login-using-passwordless-flow/99432/3 "2023-02-01T16:23:54Z")

</div>

Hi @wspence

Welcome to the Auth0 Community.

I assume if you’re using passwordless with New Universal Login you have configured [Identifier First + Biometrics](https://auth0.com/docs/authenticate/login/auth0-universal-login/passwordless-login/webauthn-device-biometrics) as currently there is no support for Email or SMS passwordless in the New Universal Login [https://auth0.com/docs/authenticate/login/auth0-universal-login/new-universal-login-vs-classic-universal-login](https://auth0.com/docs/authenticate/login/auth0-universal-login/new-universal-login-vs-classic-universal-login)

If you are using the Biometrics flavour then unfortunately there is currently no way to direct the user to a WebAuthN prompt in the New Universal Login when using a login\_hint. This issue is described in more detail here: [Passing login\_hint to New Universal Login page always prompts password](https://community.auth0.com/t/passing-login-hint-to-new-universal-login-page-always-prompts-password/70221) so at present this is only supported with Email/SMS passwordless in Classic.

Warm regards.

---

<div class="post-metadata">

**Author:** ![wspence](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/wspence/32/44210_2.png) [@wspence](https://community.auth0.com/u/wspence)\
**Post date:** [February 1, 2023, 7:04pm UTC](https://community.auth0.com/t/can-you-add-a-login-hint-to-new-universal-login-using-passwordless-flow/99432/4 "2023-02-01T19:04:57Z")

</div>

OK. So I think I mis-spoke. I believe that we are using Classic Universal Login because we have not activated biometrics because we are only developing at this point and under Authentication\>Passwordless, we only see this:

 ![Screenshot 2023-02-01 135909](https://global.discourse-cdn.com/auth0/original/3X/c/4/c416b20de061099d28ac19df3bef6e9d539197d1.png)

But we still are not getting any login hints entered for our email address using the code above. Are we doing something wrong, or does Passwordless not allow login\_hint for Classic Universal Login?

---

<div class="post-metadata">

**Author:** ![SaqibHussain](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/saqibhussain/32/42924_2.png) [@SaqibHussain](https://community.auth0.com/u/SaqibHussain)\
**Post date:** [February 1, 2023, 8:22pm UTC](https://community.auth0.com/t/can-you-add-a-login-hint-to-new-universal-login-using-passwordless-flow/99432/5 "2023-02-01T20:22:11Z")

</div>

Hi @wspence

Ah gotcha. In that case it might just be a small thing you’re missing.

Within Branding \> Universal Login \> Login tab check if you have the [prefill](https://auth0.com/docs/libraries/lock/lock-configuration#prefill-object-) object present:

 ![image](https://global.discourse-cdn.com/auth0/original/3X/7/8/783e0d7b0e3194e7eee64bcdbf1819548b6d6b75.png)

Warm regards.

---

<div class="post-metadata">

**Author:** ![wspence](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/wspence/32/44210_2.png) [@wspence](https://community.auth0.com/u/wspence)\
**Post date:** [February 1, 2023, 9:33pm UTC](https://community.auth0.com/t/can-you-add-a-login-hint-to-new-universal-login-using-passwordless-flow/99432/6 "2023-02-01T21:33:40Z")

</div>

That did the trick! Glad you were here to help, I did not know that I needed to do anything to the template to make that happen!

Thank you @SaqibHussain

---

<div class="post-metadata">

**Author:** ![SaqibHussain](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/saqibhussain/32/42924_2.png) [@SaqibHussain](https://community.auth0.com/u/SaqibHussain)\
**Post date:** [February 1, 2023, 9:37pm UTC](https://community.auth0.com/t/can-you-add-a-login-hint-to-new-universal-login-using-passwordless-flow/99432/7 "2023-02-01T21:37:12Z")

</div>

No problem, I’m glad I was able to help 🙌

---

<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 15, 2023, 9:37pm UTC](https://community.auth0.com/t/can-you-add-a-login-hint-to-new-universal-login-using-passwordless-flow/99432/8 "2023-02-15T21:37:43Z")

</div>

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