additionalSignUpFields
option will only work with database signups. For signups using social , collecting these fields in the same manner is not possible with Lock, but there are two other options to allow social IDP signups with Lock while still collecting additional custom fields.
name
is a user profile attribute and color
is a custom field.
There is currently no way to validate user-supplied custom fields when signing up. Validation must be done from an Auth0 Rule at login, or with custom, server-side logic in your application.
client_id
email
and password
of the user being signed upconnection
to store your user’s datagiven_name
, family_name
, name
, nickname
, and picture
.user_metadata
user_metadata
. The limitations of this field are:
user_metadata
must contain no more than 10 fieldsuser_metadata.field
must be a stringuser_metadata.field.value.length
must be fewer than 500 charactersuser_metadata.field.length
must be fewer than 100 charactersuser_metadata
is 16 MBid_token
) in the query string.
Your server will then need to call APIv2 to add the necessary custom fields to the user’s profile.
username
field in your custom form, and add the username
to your request body.