Overview
This article provides instructions for permanently changing a user’s name on their Auth0 profile when the name is provided by an Identity Provider (IdP) and preventing the name from reverting to the IdP value at each login.
Applies To
- Database connections with a custom user store with import mode off
- Social connections
- Enterprise connections
Solution
By default, when an Auth0 profile is created for a user signing in with an external identity provider, the identity provider automatically populates the name attribute. This attribute is then synchronized at each subsequent login. To make a name change permanent, the connection sync settings must be configured to update the user profile only when it is created.
To configure connection sync for social connections and custom database connections with import mode disabled:
- Navigate to Authentication > Database.
- Select the desired connection.
- Choose the Settings tab.
- Disable Sync user profile attributes at each login.
To configure connection sync for enterprise connections:
- Navigate to Authentication > Enterprise.
- Select the desired connection.
- Choose the Settings tab.
- Select the Provisioning tab.
- Under Sync user profile attributes at login, change Set User Root Attributes to On first login only.
NOTE: This applies only to tenant user accounts (e.g., users of an application). It does not apply to Auth0 tenant and team management accounts, such as administrators and team owners. The profile names for management accounts can only be changed through the IdP.