mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-02-07 04:28:54 -06:00
Merge pull request #7893 from owncloud/fix-policies-jwt-config
remove jwt config from policies after #7672
This commit is contained in:
5
changelog/unreleased/fix-policies-jwt-config.md
Normal file
5
changelog/unreleased/fix-policies-jwt-config.md
Normal file
@@ -0,0 +1,5 @@
|
||||
Bugfix: Fix jwt config of policies service
|
||||
|
||||
Removes jwt config of policies service
|
||||
|
||||
https://github.com/owncloud/ocis/pull/7893
|
||||
@@ -34,11 +34,6 @@ type GRPC struct {
|
||||
TLS *shared.GRPCServiceTLS `yaml:"tls"`
|
||||
}
|
||||
|
||||
// TokenManager is the config for using the reva token manager
|
||||
type TokenManager struct {
|
||||
JWTSecret string `yaml:"jwt_secret" env:"OCIS_JWT_SECRET;POLICIES_JWT_SECRET" desc:"The secret to mint and validate jwt tokens."`
|
||||
}
|
||||
|
||||
// Engine configures the policy engine.
|
||||
type Engine struct {
|
||||
Timeout time.Duration `yaml:"timeout" env:"POLICIES_ENGINE_TIMEOUT" desc:"Sets the timeout the rego expression evaluation can take. Rules default to deny if the timeout was reached. See the Environment Variable Types description for more details."`
|
||||
|
||||
Reference in New Issue
Block a user