mirror of
https://github.com/grafana/grafana.git
synced 2024-11-26 02:40:26 -06:00
update usage of ReadGprcServerConfig()
This commit is contained in:
parent
f5d383644d
commit
499a31df53
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user