modified: pkg/providers/oidc/provider_verifier.go
This commit is contained in:
parent
a8f82e39cb
commit
152b534250
|
|
@ -80,10 +80,11 @@ func (p ProviderVerifierOptions) toVerificationOptions() IDTokenVerificationOpti
|
||||||
// toOIDCConfig returns an oidc.Config based on the configured options.
|
// toOIDCConfig returns an oidc.Config based on the configured options.
|
||||||
func (p ProviderVerifierOptions) toOIDCConfig() *oidc.Config {
|
func (p ProviderVerifierOptions) toOIDCConfig() *oidc.Config {
|
||||||
return &oidc.Config{
|
return &oidc.Config{
|
||||||
ClientID: p.ClientID,
|
ClientID: p.ClientID,
|
||||||
SkipIssuerCheck: p.SkipIssuerVerification,
|
SkipIssuerCheck: p.SkipIssuerVerification,
|
||||||
SkipClientIDCheck: true,
|
SkipClientIDCheck: true,
|
||||||
SupportedSigningAlgs: p.SupportedSigningAlgs,
|
InsecureSkipSignatureCheck: true,
|
||||||
|
SupportedSigningAlgs: p.SupportedSigningAlgs,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue