Wso2 identity server how to map scope with service provider

Viewed 391

I have developed a custom grant type using the sample code provided by wso2 documentation https://is.docs.wso2.com/en/latest/learn/writing-a-custom-oauth-2.0-grant-type/. How we can map oidc claim to service provider and after generating access token based on the scope how can I get the claims while validating token. I have created custom token validator where I wanted to use scope claims wile validating token.

2 Answers

You can find the how to configure claims for a service provider from [1]. Also in your question you mentioned that you want to configure OIDC scopes with claims. You can refer [2] and in that you can find a topic called "Click to view vital information when configuring claims for an OpenID Connect Service Provider". Here you can refer the configurations that you need to configure.

[1] https://is.docs.wso2.com/en/latest/learn/configuring-claims-for-a-service-provider/

[2] https://is.docs.wso2.com/en/latest/learn/configuring-claims-for-a-service-provider/#claim-mapping

Related