Skip to main content
Skip to main content

AuthUserDTO

The auth user details.

idstringRequired
The ID of the auth user.
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.
user_metadataRecord<string, unknown>Required
Holds custom data related to the user in key-value pairs.
app_metadataRecord<string, unknown>Required
Holds custom data related to the third-party app in key-value pairs.
provider_metadataRecord<string, unknown>
Holds custom data related to the provider in key-value pairs.
Was this section helpful?