Permission claim in token is empty when logging on to an application as an organization team member.
I have assigned permissions to my user in organization “x” (for the API that sent as audience).
When triggering to /authorize endpoint i have passed the “organization=x” query param and yet the permissions of the user in the organization is empty
RBAC is enabled and include permission in access token is enabled. for the organization the permission array is empty.
This is typically due to the fact the role/permissions has been assigned globally as opposed to within the context of an organization - Please see the following FAQ for details:
Thanks for following up on this! I’ve just ran through this in my own test environment and can confirm that the permissions are added correctly. Here’s a look at the access token I’ve received:
Are you able to confirm that you receive the org_id as a claim in your access token and that the roles you added to a user within the context of an organization have permissions associated with them?