Skip to main content

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

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

Signup response

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

Loading...