Skip to main content
POST

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
grant_type
enum<string>
required
Available options:
authorization_code,
refresh_token,
password,
client_credentials,
urn:ietf:params:oauth:grant-type:device_code,
urn:ietf:params:oauth:grant-type:token-exchange
Example:

"password"

client_id
string
required
Example:

"dev-console"

client_secret
string
code
string
redirect_uri
string
code_verifier
string
username
string
email
string<email>
password
string
mfa_code
string

6-digit TOTP when MFA is enrolled

mfa_backup_code
string
refresh_token
string
scope
string
Example:

"openid profile email offline_access"

device_code
string
subject_token
string

Guardian access token (token-exchange)

subject_token_type
string
requested_subject
string

Minor user id (token-exchange)

resource
string

RFC 8707 indicator

authorization_details
string

RFC 9396 JSON array (string-encoded)

Response

Issued tokens

access_token
string
token_type
string
Example:

"Bearer"

expires_in
integer
Example:

3600

refresh_token
string
scope
string
id_token
string
issued_token_type
string