I have a OIDC client in Keycloak and this client has multiple roles defined and I have added User Client Role mapper with multivalued set to false as my service only supports single role in the JWT token claim.
Is it possible to declare client roles with increasing priority so that if a user is assigned multiple client roles only the highest priority role is returned without implementing custom mapper?