From 89e51185e2d7ad57387aea59045e0fc2d8d257a1 Mon Sep 17 00:00:00 2001 From: Jack Warren Date: Mon, 22 Jul 2024 17:34:05 -0400 Subject: [PATCH] pass ctx with http.Client to verifier Signed-off-by: Jack Warren --- connector/oidc/oidc.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/connector/oidc/oidc.go b/connector/oidc/oidc.go index 6213e06833..4bf423abc5 100644 --- a/connector/oidc/oidc.go +++ b/connector/oidc/oidc.go @@ -263,7 +263,8 @@ func (c *Config) Open(id string, logger *slog.Logger) (conn connector.Connector, Scopes: scopes, RedirectURL: c.RedirectURI, }, - verifier: provider.Verifier( + verifier: provider.VerifierContext( + ctx, // Pass our ctx with customized http.Client &oidc.Config{ClientID: clientID}, ), logger: logger.With(slog.Group("connector", "type", "oidc", "id", id)),