This is the final piece I need to wrap up this integration:
I have an external Identity Provider that generates JWT tokens. These tokens contain a claim "auth" that includes the permissions of a user, e.g:
"auth" : [ "editor", "reviewer"].In WSO2 I have an API that requires the "editor" scope in some of its endpoints:
- I am using JWT Grant to exchange the JWT from the external IP for a WSO2 access token to invoke the API.
I need that when WSO2 creates the access token it associates it with the scopes contained in the "auth" claim from the JWT.
Is this possible? Is there an extension point where this could be implemented?
