introduce OCIS_INSECURE option

This commit is contained in:
Willy Kloucek
2021-11-10 16:55:12 +01:00
parent a6b2ea9895
commit 6590565a2f
20 changed files with 34 additions and 103 deletions
+1 -1
View File
@@ -210,7 +210,7 @@ func ServerWithConfig(cfg *config.Config) []cli.Flag {
Name: "oidc-insecure",
Value: flags.OverrideDefaultBool(cfg.OIDC.Insecure, false),
Usage: "OIDC allow insecure communication",
EnvVars: []string{"PROXY_OIDC_INSECURE"},
EnvVars: []string{"PROXY_OIDC_INSECURE", "OCIS_INSECURE"},
Destination: &cfg.OIDC.Insecure,
},
&cli.IntFlag{