fixup! fixup! Downgrade gorilla sessions preventing the publishing by traefik hub temporarily.

This commit is contained in:
2024-11-06 14:43:13 +00:00
parent f77c804fad
commit f068d1092e
3 changed files with 75 additions and 78 deletions
+5
View File
@@ -31,6 +31,7 @@ type Config struct {
AllowedUserDomains []string `json:"allowedUserDomains"`
AllowedRolesAndGroups []string `json:"allowedRolesAndGroups"`
OIDCEndSessionURL string `json:"oidcEndSessionURL"`
PostLogoutRedirectURI string `json:"postLogoutRedirectURI"`
HTTPClient *http.Client
}
@@ -62,6 +63,10 @@ func CreateConfig() *Config {
c.RateLimit = 100
}
if c.PostLogoutRedirectURI == "" {
c.PostLogoutRedirectURI = c.CallbackURL
}
return c
}