# Login\_hint does not prefill username

**URL:** <https://community.auth0.com/t/login-hint-does-not-prefill-username/99699>\
**Category:** Get Help\
**Tags:** new-universal-login-experience, login-experience\
**Created:** [February 4, 2023, 12:37am UTC](https://community.auth0.com/t/login-hint-does-not-prefill-username/99699 "2023-02-04T00:37:44Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicole.ampersand](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nicole.ampersand/32/33621_2.png) [@nicole.ampersand](https://community.auth0.com/u/nicole.ampersand)\
**Post date:** [February 4, 2023, 12:37am UTC](https://community.auth0.com/t/login-hint-does-not-prefill-username/99699/1 "2023-02-04T00:37:44Z")

</div>

Hello!

I am implementing the Universal Login Form and passing `login_hint` to prefill username. The value I pass does prefill email but it does not prefill username as stated in the [docs](https://auth0.com/docs/authenticate/login/auth0-universal-login/new-experience#login).

Please help! Thank you!

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [February 4, 2023, 1:20am UTC](https://community.auth0.com/t/login-hint-does-not-prefill-username/99699/3 "2023-02-04T01:20:12Z")

</div>

Hi there @nicole.ampersand!

> [@nicole.ampersand](#):
>
> The value I pass does prefill email but it does not prefill username as stated in the [docs](https://auth0.com/docs/authenticate/login/auth0-universal-login/new-experience#login).

I believe this is designed to fill the email only, but I will need to confirm internally. Are you looking to prefill username only?

Let me know!

---

<div class="post-metadata">

**Author:** ![nicole.ampersand](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nicole.ampersand/32/33621_2.png) [@nicole.ampersand](https://community.auth0.com/u/nicole.ampersand)\
**Post date:** [February 4, 2023, 5:40pm UTC](https://community.auth0.com/t/login-hint-does-not-prefill-username/99699/4 "2023-02-04T17:40:21Z")

</div>

Hi @ty.frith, yes being able to just prefill the username would be great. Thanks for checking!

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [February 7, 2023, 11:08pm UTC](https://community.auth0.com/t/login-hint-does-not-prefill-username/99699/5 "2023-02-07T23:08:55Z")

</div>

Hi there @nicole.ampersand! Sorry for the delay on this one - Do you mind sharing a screenshot for what you are seeing and any related config?

I suppose I am not clear - I am using `login_hint` in auth0-react with a database connection configured to require a username. Both username or email address are allowed in the same field as pictured below.

 ![Screen Shot 2023-02-07 at 2.47.19 PM](https://global.discourse-cdn.com/auth0/original/3X/1/4/14cf24bbdaf24aee2b9d08f69cfdd478f9af3a76.png)

Let me know!

---

<div class="post-metadata">

**Author:** ![nicole.ampersand](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nicole.ampersand/32/33621_2.png) [@nicole.ampersand](https://community.auth0.com/u/nicole.ampersand)\
**Post date:** [February 8, 2023, 1:56am UTC](https://community.auth0.com/t/login-hint-does-not-prefill-username/99699/6 "2023-02-08T01:56:27Z")

</div>

Hi @ty.frith apologies, this is specifically for the signup form. Since the two fields are separated when signing up, only the email address gets filled with `login_hint`.

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [February 9, 2023, 9:54pm UTC](https://community.auth0.com/t/login-hint-does-not-prefill-username/99699/7 "2023-02-09T21:54:20Z")

</div>

Hi @nicole.ampersand no worries, thanks for confirming! Unfortunately, it does not look like the username field specifically is able to be pre-filled in the way that email address is.

I definitely recommend creating a [feedback request](https://community.auth0.com/c/feedback/95) for this as I imagine this could be quite useful for other developers as well.

---

<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 23, 2023, 9:54pm UTC](https://community.auth0.com/t/login-hint-does-not-prefill-username/99699/8 "2023-02-23T21:54:47Z")

</div>

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