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!