Auth: Add missing context parameter (#70565)

Add missing parameter
This commit is contained in:
Misi
2023-06-23 10:04:54 +02:00
committed by GitHub
parent ff429c9af5
commit 0e3fbbf636

View File

@@ -371,7 +371,7 @@ func (s *SocialAzureAD) retrieveJWKS(client *http.Client) (*jose.JSONWebKeySet,
// TODO: allow setting well-known endpoint and retrieve from there
keysetURL := strings.Replace(s.Endpoint.AuthURL, "/oauth2/v2.0/authorize", "/discovery/v2.0/keys", 1)
resp, err := s.httpGet(client, keysetURL)
resp, err := s.httpGet(context.Background(), client, keysetURL)
if err != nil {
return nil, err
}