0

I am using WSO2 5.4.1 IDP and its configured to handle my custom claims. When i request token with the scope=openid it only returns the sub claim. I want to get user roles as well but i am unable to get those in my id_token.

Following steps i have already done

  1. In _system/conf/identity/oidc and adding claim

  2. Use Local Claim Dialect and Define Custom Claim Dialect for

  3. claim configuration in Service Providers.

i want to receive the custom claims in my jwt token. Can anyone help me in this regards?

enter image description here

Community
  • 1
  • 1
u_1826
  • 57
  • 2
  • 14

1 Answers1

0

Try adding them as requested claims.

Ref: https://docs.wso2.com/display/IS541/Configuring+Claims+for+a+Service+Provider

Bee
  • 12,251
  • 11
  • 46
  • 73
  • thanks for the reply, i have already tried that as well. You can see the attachment i added. – u_1826 Feb 06 '19 at 12:08
  • Please check this. https://stackoverflow.com/questions/39959064/wso2-is-openid-connect-custom-claims-in-5-2-0/40042390#40042390 – Bee Feb 07 '19 at 09:40