Repository navigation
SAML group sync always adds "Users" group and does not remove it when not present in assertion #8219
Wiki.js version3.1.1 Authentication providerSAML 2.0 with SAML Identity Provider (e.g. Microsoft Entra ID) DescriptionWhen using SAML group synchronization, Wiki.js automatically assigns the built-in Additionally, with "Unassign from groups no longer present in assertion" enabled, the automatically assigned The intention is to use the SAML identity provider as the authoritative source for group membership. SAML configuration
SAML assertionI verified the actual SAML response sent by SAML Identity Provider (e.g. Microsoft Entra ID). The assertion contains only the expected group in <Attribute Name="memberOf">
<AttributeValue>0f000a00-0400-0000-0000-000000000001</AttributeValue>
</Attribute>There is no Steps to reproduce
Actual behaviorA newly created user receives: The When the user logs in again, The same behavior occurs with existing users: the Expected behaviorWith:
the SAML IdP should be the authoritative source for group membership. If the assertion contains only: the resulting Wiki.js membership should be: and NOT: Additional informationI noticed there was previously a fix with the description:
However, I can still reproduce the behavior on Wiki.js 3.1.1 with a completely new user. It therefore seems possible that this is a regression, or that the built-in The issue is reproducible with a newly created user as well as with an existing user. Environment
Thanks for taking a look at this. I'm not sure whether this is expected behavior or a regression, so I'd appreciate any clarification. If any additional information or testing is needed, I'll be happy to provide it. |
Replies: 1 comment
|
This is as designed. The "Users" group includes all authenticated users and is always assigned. You don't have to give it any permission if it's not useful to you. |
This is as designed. The "Users" group includes all authenticated users and is always assigned. You don't have to give it any permission if it's not useful to you.