POST
/
getToken

Authorizations

Authorization
string
headerrequired

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
connection
string

Specifies the custom name of the Auth0 connection configured for the service account users. Set its value to

device
string

Specifies if a Refresh token is requested. In Service Account Integration, this parameter is mandatory when requesting a Refresh token, scope=openid service_account_id offline_access

grant_type
string

Specifies the type of access grant. Set its value to password.

scope
string

Specifies the scope returned in the AuthN ID token. You can specify the value as follows:- openid pib:- retrieves only the two AuthN tokens OR openid service_account_id offline_access:- retrieves the two AuthN tokens and the Refresh token.

Response

200 - application/json
id_token
string

token id for assertion.

access_token
string

access token.

token_type
string

token type (bearer).