AUTH.SIGNIN
POST
To signin and return a JWT for the session. User can signin with password, otp and invite
Request
- application/json
Body
- SIGNIN_WITH_EMAIL_AND_PASSWORD
- SIGNIN_WITH_EMAIL_PASSWORD_AND_OTP
- SIGNIN_WITH_EMAIL_AND_OTP
- SIGNIN_WITH_INVITE_EMAIL_AND_OTP
Default value: auth.signin
The action
Possible values: [password
]
The method of which to signin
The email
The password
Default value: auth.signin
The action
Possible values: [password
]
The method of which to signin
The email
The password
OTP that was sent to the user, with the intent 'signin'
The aud
Default value: auth.signin
The action
Possible values: [otp
]
The method of which to signin
The email
The OTP code sent to user with intent: 'signin'
Default value: auth.signin
The action
Possible values: [otp
]
The method of which to signin
The email
The OTP code sent to user with intent: 'invite'
The password
Responses
- 200
Auth JWT Token response
- application/json
- Schema
- Example (from schema)
Schema
data object
The JWT ID Token
The refresh token to be kept private
The token type, set to be bearer
token_info object
Token info
The JWT time to live (ttl) from the issued at time (iat)
The JWT expire time
The JWT issued at time
The audience
The user key
The Project ID
user_profile object
The user profile
The user's Key
The user's email
Boolean indicating email is verified
The full display name
The photo URL
The username
The 'aud' associated to this authentication
Array of roles for this authentication
Array of auth_types for this authentication
{
"data": {
"id_token": "string",
"refresh_token": "string",
"token_type": "string",
"token_info": {
"ttl": 0,
"exp": 0,
"iat": 0,
"aud": "string",
"_userkey": "string",
"project_id": "string"
},
"user_profile": {
"_userkey": "string",
"email": "string",
"email_verified": true,
"display_name": "string",
"photo_url": "string",
"username": "string",
"aud": "string",
"roles": [
"string"
],
"auth_types": [
"string"
]
}
}
}