1
votes

I'm using IS 5.2.0 and having an issue getting back roles in the openid claim. I mapped a role claim in http://wso2.org/oidc/claim to the http://wso2.org/claims dialect. I have successfully mapped other claims like username and fullname and get those back but not able to get back roles. Is there something I'm missing, is it possible?

Appreciate any help,

1
please share your works and errors.Sachith Muhandiram

1 Answers

0
votes

You need to add the new claim(other than default claim) in OIDC registry scope entry in Identity Server. You can found more details here [1].

[1] https://workaroundz.blogspot.com/2016/10/define-custom-claims-for-openid-connect.html