nextcloud-oidc-login
nextcloud-oidc-login copied to clipboard
Configure a Group that gets mapped to nextcloud admin group
Hi all,
I had the problem, that I wanted to set a group in my OIDC Configuration that should be mapped to the nextcloud admin group. Therefore I made some changes to the LoginService.php.
Perhaps these changes can be merged or help anyone else with the same problem.
See the commits here: https://github.com/pulsejet/nextcloud-oidc-login/compare/master...Changer90:nextcloud-oidc-login:master
Best regards Changer
I wanted to do the same thing but also overlooked this phrase in the readme:
The attributes in the OIDC response are flattened by adding the nested array key as the prefix and an underscore.
This means that you can achieve the same result by setting is_admin => 'groups_yourAdminGroup'
:smile: