Profile Attribute Updates from a Custom Database Require User Reauthentication
Last Updated:
Overview
This article addresses an issue where updates made to a user's profile attributes are not reflected in the application. The changes only become visible after the user signs out and signs back in.
Applies To
- Custom Database Connection
- User Profile Attributes
Cause
When a Custom Database is the sole source for user information, profile attributes are only updated during the login event. This functionality requires the Sync user profile attributes at each login option to be enabled. As the update process is linked to the login event, the system requires the user to reauthenticate to retrieve the updated attributes.
Solution
To resolve this behavior, enable an alternative data source so that user reauthentication is not required. Enable Import Mode for the Custom Database connection. This action allows the system to gather user information from the Auth0 Database, which prevents the need for user reauthentication after a profile update.