So in the above token generated, there are multiple roles assigned to User. Red coloured scopes belong to Red coloured role and similarly Green colour belong to another Role. But how can we know which Scope belongs to which Role?
We need to figure this out because we need to switch a User's role while accessing application, based on his current Role he has selected we need to allow him Scopes(which we are planning to use as permissions or privileges).
Can someone help or share how we can configure the same.