# Why is the user's full name not displayed when using password-based login?

**URL:** <https://community.auth0.com/t/why-is-the-users-full-name-not-displayed-when-using-password-based-login/66136>\
**Category:** Get Help\
**Tags:** auth0, login\
**Created:** [July 14, 2021, 11:16am UTC](https://community.auth0.com/t/why-is-the-users-full-name-not-displayed-when-using-password-based-login/66136 "2021-07-14T11:16:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![czbaker](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/czbaker/32/15668_2.png) [@czbaker](https://community.auth0.com/u/czbaker)\
**Post date:** [July 14, 2021, 11:16am UTC](https://community.auth0.com/t/why-is-the-users-full-name-not-displayed-when-using-password-based-login/66136/1 "2021-07-14T11:16:25Z")

</div>

I am currently using `auth0-react` to authenticate users for a small web project and have run intoa small issue that I’m not able to figure out.

SDK/Platform info is as follows:

- **SDK Version:** e.g. 1.15.0
- **Platform Version:** e.g. Node 16.4.1

I’m successfully able to log the user in via redirect (which is perfectly fine), but when I try to display the user’s name via `user.name`, instead of showing a full name (Given + Family name), it just shows the e-mail address the account is registered under.

Is there a way to change this behavior when using email/password so that it displays their actual name (required at registration for my app, so should always exist) similar to when I login via Google OAuth?

I’d just like it to be consistent, it feels very weird to have different display behaviors based on the method of signup (OAuth vs. not).

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [July 14, 2021, 3:40pm UTC](https://community.auth0.com/t/why-is-the-users-full-name-not-displayed-when-using-password-based-login/66136/3 "2021-07-14T15:40:27Z")

</div>

Hi @czbaker,

Welcome to the Auth0 Community!

You can [Update Root Attributes for Users](https://auth0.com/docs/users/update-root-attributes-for-users) to anything you would like. This could be done in an [Auth0 Actions](https://auth0.com/docs/actions) so it occurs programatically.

Are you collecting a name on signup? By default, the user would not have submitted a name and the email is used in it’s place.

---

<div class="post-metadata">

**Author:** ![czbaker](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/czbaker/32/15668_2.png) [@czbaker](https://community.auth0.com/u/czbaker)\
**Post date:** [July 15, 2021, 12:26am UTC](https://community.auth0.com/t/why-is-the-users-full-name-not-displayed-when-using-password-based-login/66136/4 "2021-07-15T00:26:56Z")

</div>

As it turns out, I was actually just logging in using the incorrect user and trying to fetch data.

I had used the base user that I made when I signed up for Auth0 (that didn’t have a given/family name assigned) and wasn’t using the one that DID (that I created via Management API during testing).

It works as it should, I just wasn’t paying attention. Thanks!

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [July 15, 2021, 3:45pm UTC](https://community.auth0.com/t/why-is-the-users-full-name-not-displayed-when-using-password-based-login/66136/5 "2021-07-15T15:45:32Z")

</div>

Glad you figured it out! Thanks for posting an update.

---

<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:** [July 30, 2021, 3:46pm UTC](https://community.auth0.com/t/why-is-the-users-full-name-not-displayed-when-using-password-based-login/66136/6 "2021-07-30T15:46:00Z")

</div>

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