Authorization Request
Instructions on page Authorization code grant and web single sign-on
Authorization Response
Instructions on page Authorization code grant and web single sign-on
Access Token Request
Instructions on page Authorization code grant and web single sign-on
Access Token Response
Instructions on page Authorization code grant and web single sign-on
Anchor |
---|
| _Ref420579533 |
---|
| _Ref420579533 |
---|
|
Anchor |
---|
| _Toc452021335 |
---|
| _Toc452021335 |
---|
|
Anchor |
---|
| _Ref420579458 |
---|
| _Ref420579458 |
---|
|
Resource Server Request
https://tools.ietf.org/html/rfc6750#section-2
Required parameters
- access token Bearer authorization http header The application may alternatively choose to send the access token in a form or query parameter
Code Block |
---|
language | xml |
---|
title | Sample Resource server request |
---|
|
GET https://resource.example.com/api/method Authorization: Bearer DSJJU6QhquTUsznTDeDq0eVm |
Anchor |
---|
| _Ref420579578 |
---|
| _Ref420579578 |
---|
|
Anchor |
---|
| Token Introspection Request |
---|
| Token Introspection Request |
---|
|
Token Introspection Request
https://tools.ietf.org/html/rfc7662#section-2.1
Anchor |
---|
| _Toc452021337 |
---|
| _Toc452021337 |
---|
|
POST /uas/oauth2/introspection
Required parameters
Access/Refresh Token value received by the resource server
- client_id & client_secret
OAuth Client Identifier and Secret of the resource server
Code Block |
---|
title | Sample introspection request |
---|
|
POST https://sso.example.com/uas/oauth2/introspectionAuthorization: Basic MTc2MjQxNDM3NDoqKio=Content-Type: application/x-www-form-urlencoded
token=DSJJU6QhquTUsznTDeDq0eVm
|
Anchor |
---|
| _Ref420579471 |
---|
| _Ref420579471 |
---|
|
Anchor |
---|
| _Toc452021338 |
---|
| _Toc452021338 |
---|
|
Token Introspection Response
https://tools.ietf.org/html/rfc7662#section-2.2
Parameters
The value "true" if access token was valid
OAuth Client Identifier of the response recipient
Scope of the provided token. Subset of the scopes in the scope
parameter given in the token request the token was generated for.
OAuth Client Identifier of the client issuing the authorization request
Type of the token submitted – access_token or refresh_token
In addition to the attributes listed above, the Introspection Response contains the same claims and attributes as the UserInfo Response.
Code Block |
---|
language | xml |
---|
title | Sample introspection response |
---|
|
HTTP/1.1 200 OKContent-Type: application/json
\{"sub":"***","iss":"https://sso.example.com/uas","aud":"1762414374","exp":1429700671981,"iat":1429697071971,"auth_time":1429697071527,"amr":\["https://sso.example.com/uas/saml2/names/ac/password.1"\],"active":true,"scope":"openid 1762414374","client_id":"347937059","session_index":"0a9b62ce8de4","token_type":"access_token"\} |