Endpoint (standard) | |
---|---|
URL | <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. 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.
Name | Support | Description |
---|---|---|
grant_type | Grant type is always authorization_code | |
code | Value from response of preceeding Authorize request | |
redirect_uri | Redirect URI used in Authorize request | |
client_id | Not supported since the OIDC clients must always authenticate |
Response elements
Return is a JSON structure with name/value pairs.