Reputation: 586
In wso2 IS 5.10 I have a claim skype which is a local claim which I am returning from saml assertion as a attribute. But using SAML grant type if I generate OAuth2 token by exchanging SAML Assertion I am not getting claim skype in jwt token as claims.
I have added a skype claim in openidscope as a external scope also and also I have added skype claim as requested claim in service provider.But then also in jwt token claim is not returning.
Upvotes: 0
Views: 115
Reputation: 3057
Seems you are checking the requested claims on the JWT access token requested using the saml-bearer grant. Self Contained access token in saml-bearer grant won't return the user claims is a known issue tracked in;
You should be able to retrieve the claim values in the id token as mentioned in the above issue descriptions.
Upvotes: 1