I have following claim configuration in SP (note http://wso2.org/claims/role has been added)
role claim in http://wso2.org/claims dialect as follows
Now I have added the mapping "Role" claim to http://wso2.org/oidc/claim dialect which has same Mapped Attribute (role)
But still I can not get any roles by accessing userinfo EP.
curl -k -H "Authorization: Bearer 7f5b531c-f1d9-3775-8de8-30acf09e8673" https://localhost:9443/oauth2/userinfo?schema=openid
returns {"sub":"[email protected]","name":"admin","family_name":"admine","email":"[email protected]"}
Can anybody point out if I missed anything?