mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Update pkg/services/authn/grpcutils/grpc_authenticator.go
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
This commit is contained in:
parent
62f165f6f9
commit
0d70225c1a
@ -49,6 +49,7 @@ func NewGrpcAuthenticator(cfg *setting.Cfg) (*authnlib.GrpcAuthenticator, error)
|
|||||||
}
|
}
|
||||||
|
|
||||||
func NewInProcGrpcAuthenticator() *authnlib.GrpcAuthenticator {
|
func NewInProcGrpcAuthenticator() *authnlib.GrpcAuthenticator {
|
||||||
|
// In proc grpc ID token signature verification can be skipped
|
||||||
return authnlib.NewUnsafeGrpcAuthenticator(
|
return authnlib.NewUnsafeGrpcAuthenticator(
|
||||||
&authnlib.GrpcAuthenticatorConfig{},
|
&authnlib.GrpcAuthenticatorConfig{},
|
||||||
authnlib.WithDisableAccessTokenAuthOption(),
|
authnlib.WithDisableAccessTokenAuthOption(),
|
||||||
|
Loading…
Reference in New Issue
Block a user