mirror of
https://github.com/owncloud/ocis
synced 2026-04-26 01:35:25 +02:00
load reva gateway and token manager from common config
This commit is contained in:
@@ -12,8 +12,9 @@ type Config struct {
|
||||
|
||||
GRPC GRPCConfig `yaml:"grpc,omitempty"`
|
||||
|
||||
JWTSecret string `yaml:"jwt_secret,omitempty"`
|
||||
GatewayEndpoint string `yaml:"gateway_endpoint,omitempty"`
|
||||
TokenManager *TokenManager `yaml:"token_manager,omitempty"`
|
||||
Reva *Reva `yaml:"reva,omitempty"`
|
||||
|
||||
SkipUserGroupsInToken bool `yaml:"skip_user_groups_in_token,omitempty"`
|
||||
AuthProvider string `yaml:"auth_provider,omitempty" env:"AUTH_BEARER_AUTH_PROVIDER" desc:"The auth provider which should be used by the service"`
|
||||
AuthProviders AuthProviders `yaml:"auth_providers,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user