Skip to main content
Skip to main content

CreateAuthUserDTO

The auth user to be created.

providerstringRequired
The ID of the provider used to authenticate the user.
entity_idstringRequired
The user's identifier. For example, when using the emailpass provider, the entity_id would be the user's email.
scopestringRequired
The scope of the auth user. For example, admin or store.
idstring
The ID of the auth user.
provider_metadataRecord<string, unknown>
Holds custom data related to the provider in key-value pairs.
user_metadataRecord<string, unknown>
Holds custom data related to the user in key-value pairs.
app_metadataRecord<string, unknown>
Holds custom data related to the third-party app in key-value pairs.
Was this section helpful?