feat: add support for oauth whitelist file (#817)

This commit is contained in:
djedditt
2026-04-29 02:53:56 +02:00
parent d51e3efe32
commit 6b5a6bd982
7 changed files with 84 additions and 27 deletions
+1
View File
@@ -159,6 +159,7 @@ type IPConfig struct {
type OAuthConfig struct {
Whitelist []string `description:"Comma-separated list of allowed OAuth domains." yaml:"whitelist"`
WhitelistFile string `description:"Path to the OAuth whitelist file." yaml:"whitelistFile"`
AutoRedirect string `description:"The OAuth provider to use for automatic redirection." yaml:"autoRedirect"`
Providers map[string]OAuthServiceConfig `description:"OAuth providers configuration." yaml:"providers"`
}