Tokens
Token
Exchanges an authorization code for an access token.
Depending on the application type, the following parameters are required for grant_type=code:
- Confidential (private) client –
client_secretis required - Public client – matching
code_verifieris required forcode_challengesent during the authentication request.
Refresh tokens issued for public clients are single-use only – a new refresh token is issued upon successful authorization.
POST
Token
Body
application/json
- Code Exchange
- Refresh Token Exchange
The set of parameters required for the exchange of the code to an access token.
Response
OK: Returns a new token.
Represents an OAuth 2 token with details about its scope, validity, and associated account.