Post Oauth 2 Token
Obtain an OAuth2.1 access token
Authentication
AuthorizationBearer
Bearer token authentication
Request
This endpoint expects an object.
grant_type
OAuth2 grant type
Allowed values:
client_id
OAuth2 client ID
client_secret
OAuth2 client secret
code
Authorization code (for authorization_code grant)
code_verifier
PKCE code verifier (for authorization_code grant)
redirect_uri
Redirect URI (for authorization_code grant)
refresh_token
Refresh token (for refresh_token grant)
resource
Requested token resource(s) (ie audience) to obtain a JWT formatted access token
scope
Requested scopes (for client_credentials grant)
Response
Access token response
access_token
The access token issued by the authorization server
token_type
The type of the token issued
expires_in
Lifetime in seconds of the access token
refresh_token
Refresh token, if issued
scope
Scopes granted by the access token
id_token
ID Token (if OpenID Connect)
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error