-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If not using SAML for Nextcloud groups, groups are removed from users when they log in #805
Comments
Thank you for the report.
|
P.S.: And you only have local groups and no group mapping from SAML configured? |
I can confirm this is happening after updating SSO and SAML Authentication to v.6.1.0. We authenticate users using Microsoft Azure AD and as soon as the user logs into the nextcloud website, it is automatically removed from the groups he was part of. We don't use SAML for group membership authentication either. {"reqId":"Su1qViCmpbcrwwFOI3zU","level":1,"time":"2024-01-26T11:08:02-05:00","re moteAddr":"REMOVED FOR PRIVACY","user":"--","app":"admin_audit","method":"POST","url":" /apps/user_saml/saml/acs","message":"User "REMOVED FOR PRIVACY" removed from group "REMOVED FOR PRIVACY"","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) Apple WebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0", "version":"28.0.1.1","data":{"app":"admin_audit"}} |
Proposed fix in #806 |
Steps to reproduce
Expected behaviour
Groups should not be removed if Nextcloud is not configured to use SAML/SSO for user groups.
Actual behaviour
Groups (except admin) are removed.
Based on this check, I was able to work around the issue by creating a database-backed dummy user and adding them to each group.
Server configuration
Operating system: Ubuntu 22.04.3 LTS
Web server: nginx 1.18.0
Database: MySQL 8.0.35-0ubuntu0.22.04.1
PHP version: 8.1.20
Nextcloud version: 28.0.1
Where did you install Nextcloud from: Manually installed via web installer
List of activated apps:
Nextcloud configuration:
Client configuration
Browser: Microsoft Edge 120.0.2210.121
Operating system: Windows 11 23H2 (Build 22631.3007)
Logs
Nextcloud log (data/owncloud.log)
Browser log
The text was updated successfully, but these errors were encountered: