Skip to main content
Skip to main content
You're viewing the documentation for v1, which isn't the latest Medusa version.Latest documentation

CreateAuthUserDTO

The auth user to be created.

Properties

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?