@@ -20,7 +20,7 @@ func main() {
2020 flagSet := flag.NewFlagSet("oauth2_proxy", flag.ExitOnError)
2121
2222 emailDomains := StringArray{}
23− whitelistandardomains := StringArray{}
23+ whitelistDomains := StringArray{}
2424 upstreams := StringArray{}
2525 skipAuthRegex := StringArray{}
2626 googleGroups := StringArray{}
@@ -49,7 +49,7 @@ func main() {
4949 flagSet.Duration("flush-interval", time.Duration(1)*time.Second, "period between response flushing when streaming responses")
5050
5151 flagSet.Var(&emailDomains, "email-domain", "authenticate emails with the specified domain (may be given multiple times). Use * to authenticate any email")
52− flagSet.Var(&whitelistandardomains, "whitelist-domain", "allowed domains for redirection after authentication. Prefix domain with a . to allow subdomains (eg .example.com)")
52+ flagSet.Var(&whitelistDomains, "whitelist-domain", "allowed domains for redirection after authentication. Prefix domain with a . to allow subdomains (eg .example.com)")
5353 flagSet.String("azure-tenant", "common", "go to a tenant-specific or common (tenant-independent) endpoint.")
5454 flagSet.String("github-org", "", "restrict logins to members of this organisation")
5555 flagSet.String("github-team", "", "restrict logins to members of this team")