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
When mapstore has a OIDC integration for the users, if the user matches more than one group in the group's mapping Mapstore become unusable (500 error from server after authenticating)
Create at least two realm roles in keycloak (like groupA and groupB)
Map the Keycloak roles to mapstore groups keycloakOAuth2Config.groupMappings=groupA:groupA,groupB:groupB
Create a user, and assign him the two roles
Authenticate with this user through Mapstore
Expected Result
The user is correctly authenticated and mapped to two mapstore groups : groupA and groupB
Current Result
500 error server-side, no interface
Other useful information
If you remove one group, the user can user Mapstore without error
The keycloak's user can have multiple roles, but if at least two of them are present in the mapstore's group configuration mapping the problem will occur
The text was updated successfully, but these errors were encountered:
Description
When mapstore has a OIDC integration for the users, if the user matches more than one group in the group's mapping Mapstore become unusable (500 error from server after authenticating)
How to reproduce
groupA
andgroupB
)keycloakOAuth2Config.groupMappings=groupA:groupA,groupB:groupB
Expected Result
The user is correctly authenticated and mapped to two mapstore groups :
groupA
andgroupB
Current Result
500 error server-side, no interface
Other useful information
The text was updated successfully, but these errors were encountered: