fix: to propagate context (#593)
Co-authored-by: Livio Spring <livio.a@gmail.com>
This commit is contained in:
parent
79daaf1a7a
commit
3512c72f1c
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue