From 4fba5c9b32815ff672126d3bc10ee9acf996d761 Mon Sep 17 00:00:00 2001 From: gamab Date: Fri, 4 Oct 2024 15:17:41 +0200 Subject: [PATCH] PR Feedback --- pkg/services/authn/grpcutils/config.go | 2 +- pkg/services/authn/grpcutils/grpc_authenticator.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/services/authn/grpcutils/config.go b/pkg/services/authn/grpcutils/config.go index 6fd864bfc19..d217c15e601 100644 --- a/pkg/services/authn/grpcutils/config.go +++ b/pkg/services/authn/grpcutils/config.go @@ -39,7 +39,7 @@ func ReadGrpcClientConfig(cfg *setting.Cfg) (*GrpcClientConfig, error) { return &GrpcClientConfig{ Token: section.Key("token").MustString(""), TokenExchangeURL: section.Key("token_exchange_url").MustString(""), - TokenNamespace: section.Key("token_namespace").MustString("stack-" + cfg.StackID), + TokenNamespace: section.Key("token_namespace").MustString("stacks-" + cfg.StackID), Mode: mode, }, nil } diff --git a/pkg/services/authn/grpcutils/grpc_authenticator.go b/pkg/services/authn/grpcutils/grpc_authenticator.go index 249e122d51b..63e9566823f 100644 --- a/pkg/services/authn/grpcutils/grpc_authenticator.go +++ b/pkg/services/authn/grpcutils/grpc_authenticator.go @@ -10,7 +10,7 @@ import ( ) func NewGrpcAuthenticator(cfg *setting.Cfg) (*authnlib.GrpcAuthenticator, error) { - authCfg, err := ReadGprcServerConfig(cfg) + authCfg, err := ReadGrpcServerConfig(cfg) if err != nil { return nil, err }