Skip to content

Commit

Permalink
Pass ctx with http.Client to verifier for OIDC connector (#3641)
Browse files Browse the repository at this point in the history
Signed-off-by: Jack Warren <jack@jackwarren.info>
  • Loading branch information
jack-r-warren authored Jul 24, 2024
1 parent 23a53a8 commit 849d601
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion connector/oidc/oidc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)),
Expand Down

0 comments on commit 849d601

Please sign in to comment.