diff --git a/pkg/services/authn/grpcutils/grpc_authenticator.go b/pkg/services/authn/grpcutils/grpc_authenticator.go index f3d12462368..639439ba366 100644 --- a/pkg/services/authn/grpcutils/grpc_authenticator.go +++ b/pkg/services/authn/grpcutils/grpc_authenticator.go @@ -10,11 +10,7 @@ import ( ) func NewGrpcAuthenticator(cfg *setting.Cfg) (*authnlib.GrpcAuthenticator, error) { - authCfg, err := ReadGprcServerConfig(cfg) - if err != nil { - return nil, err - } - + authCfg := ReadGprcServerConfig(cfg) grpcAuthCfg := authnlib.GrpcAuthenticatorConfig{ KeyRetrieverConfig: authnlib.KeyRetrieverConfig{ SigningKeysURL: authCfg.SigningKeysURL,