title: Wso2 IS 5.2.0 : Openid connect role claim
body: <ol>
  <li><p>I have following claim configuration in SP (note     <a href="http://wso2.org/claims/role" rel="nofollow noreferrer">http://wso2.org/claims/role</a> has been added)
  <a href="https://i.stack.imgur.com/GzeDE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GzeDE.png" alt="enter image description here"></a></p></li>
  <li><p>role claim in <a href="http://wso2.org/claims" rel="nofollow noreferrer">http://wso2.org/claims</a> dialect as follows
  <a href="https://i.stack.imgur.com/HSGE5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HSGE5.png" alt="enter image description here"></a></p></li>
  <li><p>Now I have added the mapping "Role" claim to <a href="http://wso2.org/oidc/claim" rel="nofollow noreferrer">http://wso2.org/oidc/claim</a> dialect which has same Mapped Attribute (role)</p></li>
  </ol>
  
  <p><a href="https://i.stack.imgur.com/BMoeQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BMoeQ.png" alt="enter image description here"></a></p>
  
  <ol start="4">
  <li>Then added the "roles" claim uri to the openid scope defined in registry at /_system/config/oidc
  <a href="https://i.stack.imgur.com/vwLU8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vwLU8.png" alt="enter image description here"></a></li>
  </ol>
  
  <p>But still I can not get any roles by accessing userinfo EP.</p>
  
  <p>curl -k -H "Authorization: Bearer 7f5b531c-f1d9-3775-8de8-30acf09e8673" <a href="https://localhost:9443/oauth2/userinfo?schema=openid" rel="nofollow noreferrer">https://localhost:9443/oauth2/userinfo?schema=openid</a></p>
  
  <p>returns 
  {"sub":"admin@carbon.super","name":"admin","family_name":"admine","email":"adminvvvvvv@wso2.com"}</p>
  
  <p>Can anybody point out if I missed anything?</p>