feat: add regex support to oauth whitelist

This commit is contained in:
Stavros
2025-04-18 19:36:50 +03:00
parent 34b1c97db0
commit 85ad0d19c7
7 changed files with 7 additions and 27 deletions

View File

@@ -68,7 +68,7 @@ type APIConfig struct {
// AuthConfig is the configuration for the auth service
type AuthConfig struct {
Users Users
OauthWhitelist []string
OauthWhitelist string
SessionExpiry int
Secret string
CookieSecure bool