Sync Users at Login does not apply to passwordless connections, and cannot be enabled through the Tenant UI or Management API.
Use the Dashboard
- Go to Auth0 Dashboard > Authentication, and select the type of connection: Database, Social, Enterprise, or Passwordless.
- Select the name of a connection to see its settings.
- Locate the Advanced section, toggle the Sync user profile attributes at each login switch to the desired setting, and select Save.
Use the Management API
Before completing this step, you should first retrieve the existing values of the connection’soptions
object to avoid overriding the current values. If you do not, parameters missing from the original object will be lost after you update.
Make a PATCH
call to the Update a Connection endpoint. Make sure you include the original options values in the call to avoid overriding the current values. Also, be sure to replace CONNECTION_ID
, MGMT_API_ACCESS_TOKEN
, and ATTRIBUTE_UPDATE_VALUE
placeholder values with your connection ID, Management API , and attribute update value, respectively.
Value | Description |
---|---|
CONNECTION_ID | ID of the connection for which you want to allow updates to root attributes. |
MGMT_API_ACCESS_TOKEN | Access Token for the Management API with the scope update:connections . |
ATTRIBUTE_UPDATE_VALUE | Indicates when you want to allow updates to user profile root attributes. Valid values are on_first_login and on_each_login . Defaults to on_each_login for new connections. |