mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-07 23:53:08 -04:00
Merge pull request #2597 from owncloud/gateway_config
add gatewaysvc to all REVA services
This commit is contained in:
6
changelog/unreleased/fix-gatewaysvc-everywhere.md
Normal file
6
changelog/unreleased/fix-gatewaysvc-everywhere.md
Normal file
@@ -0,0 +1,6 @@
|
||||
Bugfix: Add the gatewaysvc to all shared configuration in REVA services
|
||||
|
||||
We've fixed the configuration for REVA services which didn't have a gatewaysvc in their
|
||||
shared configuration. This could lead to default gatewaysvc addresses in the auth middleware. Now it is set everywhere.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2597
|
||||
@@ -92,6 +92,7 @@ func appProviderConfigFromStruct(c *cli.Context, cfg *config.Config) map[string]
|
||||
},
|
||||
"shared": map[string]interface{}{
|
||||
"jwt_secret": cfg.Reva.JWTSecret,
|
||||
"gatewaysvc": cfg.Reva.Gateway.Endpoint,
|
||||
},
|
||||
"grpc": map[string]interface{}{
|
||||
"network": cfg.Reva.AppProvider.GRPCNetwork,
|
||||
|
||||
@@ -103,6 +103,7 @@ func authBasicConfigFromStruct(c *cli.Context, cfg *config.Config) map[string]in
|
||||
},
|
||||
"shared": map[string]interface{}{
|
||||
"jwt_secret": cfg.Reva.JWTSecret,
|
||||
"gatewaysvc": cfg.Reva.Gateway.Endpoint,
|
||||
},
|
||||
"grpc": map[string]interface{}{
|
||||
"network": cfg.Reva.AuthBasic.GRPCNetwork,
|
||||
|
||||
@@ -94,6 +94,7 @@ func authBearerConfigFromStruct(c *cli.Context, cfg *config.Config) map[string]i
|
||||
},
|
||||
"shared": map[string]interface{}{
|
||||
"jwt_secret": cfg.Reva.JWTSecret,
|
||||
"gatewaysvc": cfg.Reva.Gateway.Endpoint,
|
||||
},
|
||||
"grpc": map[string]interface{}{
|
||||
"network": cfg.Reva.AuthBearer.GRPCNetwork,
|
||||
|
||||
@@ -110,6 +110,7 @@ func usersConfigFromStruct(c *cli.Context, cfg *config.Config) map[string]interf
|
||||
},
|
||||
"shared": map[string]interface{}{
|
||||
"jwt_secret": cfg.Reva.JWTSecret,
|
||||
"gatewaysvc": cfg.Reva.Gateway.Endpoint,
|
||||
},
|
||||
"grpc": map[string]interface{}{
|
||||
"network": cfg.Reva.Users.GRPCNetwork,
|
||||
|
||||
Reference in New Issue
Block a user