name
: the user’s full name.nickname
: by default, the local part of the user’s email.picture
: the URL of the user’s picture. If unavailable, Auth0 uses the Gravatar image associated with the user’s email address.user_id
: the user’s unique identifier. This is unique per Connection, but the same for all apps that authenticate via that Connection.name
, nickname
, and picture
attributes provided by other than Auth0 (such as Google, Facebook, or X) are not directly editable since they are updated from the identity provider each time a user logs in. If you want to be able to edit these attributes, you must configure your connection sync with Auth0 so that user attributes will be updated from the identity provider only on user profile creation. Root attributes will then be available to be edited individually or by bulk import using the .
Fields that are generated when the details are available:
email
: the user’s email address.email_verified
: a boolean indicating if the user’s email address has been verified.given_name
: the user’s first name.family_name
: the user’s last name.given_name
and family_name
. By default, a user’s given_name
and family_name
attributes provided by identity providers other than Auth0 (such as Google, Facebook, or X) are not directly editable since they are updated from the identity provider each time a user logs in. If you want to be able to edit these attributes, you must configure your connection sync with Auth0 so that user attributes will be updated from the identity provider only on user profile creation. Root attributes will then be available to be edited individually or by bulk import using the Management API
If you are writing a login script for a custom database you are responsible for returning the information in the user profile. A unique and immutable user_id
property is mandatory to correctly identify the user (see Uniquely Identify Users).
identities
array contains the following attributes:
connection
: the name of the connection.isSocial
: indicates if the provider is a Social provider.provider
: the provider of the connection.user_id
: the unique identifier of the user for this connection.