Earlier the role provider only considers the roles from the realm_access but in general it should also consider roles from the resource_access. This PR adds support for the union of both the roles from realm_access and resource_access.
Related Issue
485
BaSyx Configuration for Testing
There are no specific settings or configurations to test this but modifying the Authorization Server (Keycloak) to also add roles for the resource_access.
Description of Changes
Earlier the role provider only considers the roles from the realm_access but in general it should also consider roles from the resource_access. This PR adds support for the union of both the roles from realm_access and resource_access.
Related Issue
485
BaSyx Configuration for Testing
There are no specific settings or configurations to test this but modifying the Authorization Server (Keycloak) to also add roles for the resource_access.