OIDC : scope groups par défaut, groupes du jeton dans le journal de refus ; bouton Paramètres ; réseau traefik-net

This commit is contained in:
claude Bot committed 2026-11-19 11:17:16 +01:00
1 parent 8c2f7a6bff
commit fe81055421
5 files changed
+10 -3

No files matched your search

+1 -1
View File
@@ -275,7 +275,7 @@ func oidcConfig(secret []byte, ttl time.Duration) (auth.Config, error) {
ClientID: os.Getenv("OIDC_CLIENT_ID"),
ClientSecret: secretEnv("OIDC_CLIENT_SECRET"),
RedirectURL: os.Getenv("OIDC_REDIRECT_URL"),
Scopes: fields(env("OIDC_SCOPES", "openid profile email")),
Scopes: fields(env("OIDC_SCOPES", "openid profile email groups")),
GroupsClaim: env("OIDC_GROUPS_CLAIM", "groups"),
SessionTTL: ttl,
Secret: secret,