dynamic client registration changes

This commit is contained in:
Willy Kloucek
2021-05-18 08:08:18 +02:00
parent 17cf468368
commit d0e5546c6f
5 changed files with 12 additions and 4 deletions
+1 -1
View File
@@ -384,7 +384,7 @@ func ServerWithConfig(cfg *config.Config) []cli.Flag {
Name: "allow-dynamic-client-registration",
Usage: "Allow dynamic OAuth2 client registration",
EnvVars: []string{"IDP_ALLOW_DYNAMIC_CLIENT_REGISTRATION"},
Value: flags.OverrideDefaultBool(cfg.IDP.AllowDynamicClientRegistration, true),
Value: flags.OverrideDefaultBool(cfg.IDP.AllowDynamicClientRegistration, false),
Destination: &cfg.IDP.AllowDynamicClientRegistration,
},
&cli.BoolFlag{