CreateAuthUserDTO
The auth user to be created.
provider
stringRequiredThe ID of the provider used to authenticate
the user.
entity_id
stringRequiredThe user's identifier. For example, when using the
emailpass
provider, the entity_id
would be the user's email.scope
stringRequiredThe scope of the auth user. For example,
admin
or store
.id
stringThe ID of the auth user.
provider_metadata
Record<string, unknown>Holds custom data related to the provider in key-value pairs.
user_metadata
Record<string, unknown>Holds custom data related to the user in key-value pairs.
app_metadata
Record<string, unknown>Holds custom data related to the third-party app in key-value pairs.
Was this section helpful?