Exchange a client-signed JWT for an OAuth 2 access token
POST/oauth/token
Get an access token
Request
- application/x-www-form-urlencoded
Body
required
grant_type required
Possible values: [client_credentials
]
client_assertion_type required
Possible values: [urn:ietf:params:oauth:client-assertion-type:jwt-bearer
]
client_assertion jwtrequired
Responses
- 200
- 400
Newly created access token
- application/json
- Schema
- Example (from schema)
Schema
expires_in integerrequired
Access token validity duration (in seconds)
token_type required
Possible values: [Bearer
]
scope stringrequired
Space separated list of granted scopes
access_token stringrequired
The access token
{
"expires_in": 0,
"scope": "string",
"access_token": "string"
}
Client provided an invalid request
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
status integerrequired
reason stringrequired
description string
details object
property name* string[]
string
{
"status": 400,
"reason": "Reason",
"description": "string",
"details": {}
}
Loading...