/
Adding scope details in token response
Adding scope details in token response
Problem
Scopes that include client_id in Authorization/Token request are not present in the token response.
Symptoms
Access Token request returns following in scope even though the correct scope is passed in Authorization/Token Request:
Expected Values: "scope": "openid 1db8220d-a74c-4d73-bdd2-6463fde57d97"
Solution
In order to get scopes available in the response, you need to add authorisation policy for needed scopes
Add the client_id into the scope accordingly:
Example:
Add it to the authorisation policy as single value attribute:
Add the Authorization policy to the application:
Test the Token Request:
, multiple selections available,
Related content
Install Sample SAML service provider application for Java
Install Sample SAML service provider application for Java
Read with this
Change SSO metadata certificate
Change SSO metadata certificate
Read with this
Configure Google login via OAuth2
Configure Google login via OAuth2
Read with this
OAuth 2.0 and OpenID Connect metadata - SSO
OAuth 2.0 and OpenID Connect metadata - SSO
Read with this
IAM Academy
IAM Academy
Read with this