How to store users full name instead of email address in auth0?

Member

by daisha , in category: Third Party Scripts , 19 days ago

How to store users full name instead of email address in auth0?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

Member

by adan , 18 days ago

@daisha 

To store a user's full name in Auth0 instead of their email address, you can follow these steps:

  1. Login to your Auth0 dashboard and navigate to the Users section.
  2. Select the user for whom you want to store the full name.
  3. Click on the user's profile and locate the "App Metadata" section.
  4. Add a key called "full_name" and enter the user's full name as the corresponding value.
  5. Save the changes.


Alternatively, you can also use the Auth0 Management API to update a user's full name. You can do this by sending a PATCH request to the /api/v2/users/{userId} endpoint with the user's full name in the JSON body.


Remember to always handle user data securely and in compliance with data protection regulations.