change insecure option defaulting to false

This commit is contained in:
Willy Kloucek
2022-09-16 12:36:45 +02:00
parent 2ac074c186
commit 71790089fd
2 changed files with 8 additions and 3 deletions

View File

@@ -0,0 +1,6 @@
Bugfix: Change the default value for PROXY_OIDC_INSECURE to false
We've changed the default value for PROXY_OIDC_INSECURE to `false`.
Previously the default values was `true` which is not acceptable since default values need to be secure.
https://github.com/owncloud/ocis/pull/4601

View File

@@ -33,9 +33,8 @@ func DefaultConfig() *config.Config {
Name: "proxy",
},
OIDC: config.OIDC{
Issuer: "https://localhost:9200",
Insecure: true,
//Insecure: true,
Issuer: "https://localhost:9200",
AccessTokenVerifyMethod: config.AccessTokenVerificationJWT,
UserinfoCache: config.UserinfoCache{
Size: 1024,