Endpoint | |
---|---|
URL | https://<baseurl>/oauth/token |
Request | POST with parameters as application/x-www-form-urlencoded data |
Authentication | Basic |
Token is a standard endpoint used for exchanging an Authorization Code with an Access Token or to Refresh a previously received Access Token.
The Authorization Code is contained in the foregoing response from the Authorize endpoint. The practise to exchange an Authorization Code for an Access Token applies for Autorization Code flow and Hybrid flow. The Access Token is used for subsequent access to Protected Resources, among them resources behind the Userinfo endpoint.
Refresh Tokens are currently not supported.
Request parameters are different for Access Token requests and Refresh Token requests.
Name | Support | Description |
---|---|---|
grant_type | Grant type is always authorization_code | |
code | Value from response of the foregoing Authorize request | |
redirect_uri | Redirect URI used in the foregoing Authorize request | |
client_id | Not supported since the OIDC clients must always authenticate |
Refresh Tokens are currently not supported.
Reponses are different for Access Token requests and Refresh Token requests.
The response is a JSON structure that contains and Access Token along with associated characteristics. An ID Token associated with the authenticated end-user is also contained in the response.
Return is a JSON structure with name/value pairs.
Refresh Tokens are currently not supported.