fix auth service env variable

This commit is contained in:
Willy Kloucek
2023-10-18 14:27:50 +02:00
parent b3a92548b7
commit 3ec82d922c
2 changed files with 6 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
Bugfix: Fix the auth service env variable
We the auth service env variable to the service specific name. Before it was configurable via `AUTH_MACHINE_JWT_SECRET` and now is configurable via `AUTH_SERVICE_JWT_SECRET`.
https://github.com/owncloud/ocis/pull/7523

View File

@@ -2,5 +2,5 @@ package config
// TokenManager is the config for using the reva token manager
type TokenManager struct {
JWTSecret string `yaml:"jwt_secret" env:"OCIS_JWT_SECRET;AUTH_MACHINE_JWT_SECRET" desc:"The secret to mint and validate jwt tokens."`
JWTSecret string `yaml:"jwt_secret" env:"OCIS_JWT_SECRET;AUTH_SERVICE_JWT_SECRET" desc:"The secret to mint and validate jwt tokens."`
}