AUTH.SIGNUP
POST
To signup with email and password. User will be able to add display_name, phone_number, photo_url and meta_data
Request
- application/json
Body
action stringrequired
Default value: auth.signup
The action
email emailrequired
The login email address
password stringrequired
The password
display_name stringrequired
The display name. Can be full name
phone_number string
Phone nymber
photo_url string
Photo URL for avatar
metadata object
Object containing extra data associated to the user
Responses
- 200
Signup response
- application/json
- Schema
- Example (from schema)
Schema
data object
The user profile
_userkey string
The user's Key
email string
The user's email
email_verified boolean
Boolean indicating email is verified
display_name string
The full display name
photo_url string
The photo URL
username string
The username
aud string
The 'aud' associated to this authentication
roles string[]
Array of roles for this authentication
auth_types string[]
Array of auth_types for this authentication
{
"data": {
"_userkey": "string",
"email": "string",
"email_verified": true,
"display_name": "string",
"photo_url": "string",
"username": "string",
"aud": "string",
"roles": [
"string"
],
"auth_types": [
"string"
]
}
}
Loading...