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
Describe the bug
We are trying to use a user's LDAP groups (via SAML) to map access to certain meetings in OpenSlides. Specifically, we want to check if the user belongs to a particular group and then assign them to the corresponding meeting. However, when we configure the mapper to look for a specific group (e.g., bv-team-it), the user is unable to authenticate, and we receive an error.
How to Reproduce
We have set up a minimal configuration to test this concept:
We have tried both the member and member-list attributes (toggling single-member-list off), but neither works. When using member as the attribute with the condition set to "bv-team-it", we see the following error upon login:
{
"message": "Authentication failed! Server could not save user."
}
in the /system/saml/acs path.
We also tried it with a hardcoded attribute, but that failed aswell.
(If this was not expected behavior from the beginning, I'm sorry for submitting this as a bug report and would like for this issue to be treated as a feature request instead.)
System information
OpenSlides version: 4.2.1
KeyCloak as IdP
LDAP user groups
The text was updated successfully, but these errors were encountered:
Describe the bug
We are trying to use a user's LDAP groups (via SAML) to map access to certain meetings in OpenSlides. Specifically, we want to check if the user belongs to a particular group and then assign them to the corresponding meeting. However, when we configure the mapper to look for a specific group (e.g., bv-team-it), the user is unable to authenticate, and we receive an error.
How to Reproduce
We have set up a minimal configuration to test this concept:
We use Keycloak as our IdP. The SAML response (with personal data removed) looks like this:
We have tried both the member and member-list attributes (toggling single-member-list off), but neither works. When using member as the attribute with the condition set to "bv-team-it", we see the following error upon login:
in the /system/saml/acs path.
We also tried it with a hardcoded attribute, but that failed aswell.
Expected behavior
We expected it to work as indicated in https://github.com/OpenSlides/openslides-backend/blob/main/docs/actions/user.save_saml_account.md with the function attribute to check for the user groups.
(If this was not expected behavior from the beginning, I'm sorry for submitting this as a bug report and would like for this issue to be treated as a feature request instead.)
System information
The text was updated successfully, but these errors were encountered: