autoprovisioning: sync group memberships

Add support for autoprovisioning group memberships from OIDC claims.
Users are added to and removed from groups based on the value of an OIDC
claim. If a group does not exist, it is created.

Closes: #5538
This commit is contained in:
Ralf Haferkamp
2024-06-24 18:10:05 +02:00
parent c4101fa9e2
commit 0d65908e82
6 changed files with 178 additions and 9 deletions

View File

@@ -88,6 +88,7 @@ func DefaultConfig() *config.Config {
Username: "preferred_username",
Email: "email",
DisplayName: "name",
Groups: "groups",
},
EnableBasicAuth: false,
InsecureBackends: false,