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
+3 -1
View File
@@ -21,7 +21,9 @@ clients:
secret: UBntmLjC2yYCeHwsyj73Uwo9TAaecAetRwMw0xYcvNL9yRdLSUi0hUAHfvCHFeFh
name: ownCloud desktop app
application_type: native
insecure: true
redirect_uris:
- http://127.0.0.1
- http://localhost
- id: e4rAsNUSIUs0lF4nbv9FmCeUkTlV9GdgTLDH1b5uie7syb90SzEVrbN7HIpmWJeD
secret: dInFYGV33xKzhbRmpqQltYNdfLdJIfJ9L5ISoKhNoT9qZftpdWSP71VrpGR9pmoD
+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{