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 }