Skip to content

Commit

Permalink
fix: to propagate context (#593)
Browse files Browse the repository at this point in the history
Co-authored-by: Livio Spring <livio.a@gmail.com>
  • Loading branch information
otakakot and livio-a committed Apr 22, 2024
1 parent 79daaf1 commit 3512c72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/client/rp/jwks.go
Expand Up @@ -217,7 +217,7 @@ func (r *remoteKeySet) fetchRemoteKeys(ctx context.Context) ([]jose.JSONWebKey,
ctx, span := client.Tracer.Start(ctx, "fetchRemoteKeys")
defer span.End()

req, err := http.NewRequest("GET", r.jwksURL, nil)
req, err := http.NewRequestWithContext(ctx, "GET", r.jwksURL, nil)
if err != nil {
return nil, fmt.Errorf("oidc: can't create request: %v", err)
}
Expand Down

0 comments on commit 3512c72

Please sign in to comment.