Merge pull request #7893 from owncloud/fix-policies-jwt-config

remove jwt config from policies after #7672
This commit is contained in:
kobergj authored and GitHub committed 2024-01-19 09:03:45 +01:00
commit 9aebca17f0
2 files changed
+5 -5

No files matched your search

@@ -0,0 +1,5 @@
Bugfix: Fix jwt config of policies service
Removes jwt config of policies service
https://github.com/owncloud/ocis/pull/7893
-5
View File
@@ -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."`