Token
To obtain an Access Token, an ID Token, and optionally a Refresh Token, the RP (Client).
Changed onTo obtain an Access Token, an ID Token, and optionally a Refresh Token, the RP (Client).
post/restv1/token
Request
- Base URLhttps://jans.local.io/jans-auth
- Authnone declared
Request body application/x-www-form-urlencoded
Example request
{
"grant_type": [
"authorization_code",
"client_credentials"
],
"subject_token_type": "urn:ietf:params:oauth:token-type:id_token",
"requested_token_type": "urn:ietf:params:oauth:token-type:id-jag",
"actor_token_type": "urn:x-oath:params:oauth:token-type:device-secret"
}Response
OK
Example response
{
"scope": [
"openid",
"oxd"
],
"issued_token_type": "urn:ietf:params:oauth:token-type:id-jag"
}Changes
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the optional property
to the response with the status
- info
- info
endpoint added
- info