Open jkirkcaldy opened 1 month ago
I ran into this while moving nextcloud to another authentik instance yesterday and saw this while I was searching.
If it helps, for me, the issue was I had the groups claim specified twice on the default groups in authentik in the nextcloud SAML Provider > Advanced protocol settings > Property mappings, and another property mapping rule I had made for adding the admin group to the claim from the authentik documentation. I'm not sure if it's related but I had also set the name ID as the username field since the UID was in the original claim, but once I removed removed the second groups claim I could complete the sign in from authentik.
Describe the bug When trying to login to nextcloud using the SAML config the error message: "Found an Attribute element with duplicated Name" appears.
This is occurring on an existing install that was working. and a brand new install with a clean database etc.
To Reproduce Steps to reproduce the behavior:
Install nextcloud Nextcloud Hub 8 (29.0.3) and log in with SAML
Expected behavior To be able to login
Logs
Version and Deployment (please complete the following information):