You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create two applications which consume app audience roles and org audince roles
Create some roles in the system while having the same name for app audience role and org audience role too
Create a user and assign all the roles to him
In a created app enable password grant, request roles as required attribute (I used the app role consuming application)
Get an access token and id token using password grant for the user mentioned in step 3
Decode the id token, you can see the roles assigned to the user related to that application
Invoke /userinfo endpoint with the obtained token. It returns all user assigned roles. If there are more roles with same name(in multiple audiences) it can't be distinguished as well
Steps to Reproduce
Refer to the description
Version
IS-7.1.0-beta2-SNAPSHOT
Environment Details (with versions)
No response
The text was updated successfully, but these errors were encountered:
AnuradhaSK
changed the title
/user-info endpoint returns all the roles assigned to user instead of the token obtained application related roles
/userinfo endpoint returns all the roles assigned to user instead of the token obtained application related roles
Feb 16, 2025
This issue is not reproducible with the code grant because attributes are retrieving from the cache Still we need to fix the role claim resolver for other grants and when the cache attributes are not there. This PR will address the issue but we might have to keep the backward compatibility.
Description
Steps to Reproduce
Refer to the description
Version
IS-7.1.0-beta2-SNAPSHOT
Environment Details (with versions)
No response
The text was updated successfully, but these errors were encountered: