- Use the Management API.
- Update the user in your database.
- Configure user migration from your database to Auth0.
Update users with the Management API
When using your own database for authentication, you can use the Management API to update the following fields:app_metadata
user_metadata
blocked
Update users in your database
You can update user profiles in your database as you normally do, and Auth0 will update its cached user profile the next time that user logs in. The user profile in the custom database can be implemented with any user profile structure, but you need to map it in the Login call to the Auth0 normalized user profile attributes as shown in the “Login” custom database template. Access the custom database templates are accessed via Connections -> Database -> Custom Database. Be sure to turn on the “Use my own database” toggle to enable editing the scripts. See the User profile cache section below for a brief overview of how Auth0 caches user profiles.Update users through migration
If you have enabled user migration, and a user has already been migrated to the Auth0 database, then Auth0 will not query your database again for the user profile. Therefore, all changes made in the custom database for that user will never reflect in Auth0. Once a user has been migrated, you will also be able to update fields, such asname
, nickname
, given_name
, family_name
, picture
, email
, and email_verified
via the .
However, rules for updating other user fields will still apply as described in the Normalized User Profile.