Revert "[TESTS] oauth2: make it possible to use an alternate http.Client"

This reverts commit 301e5d9f27.
This commit is contained in:
Earl Warren 2023-12-19 14:51:03 +01:00
parent d578566a23
commit e2f19815e3
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
3 changed files with 7 additions and 30 deletions

View file

@ -43,7 +43,6 @@ func (o *OpenIDProvider) CreateGothProvider(providerName, callbackURL string, so
if err != nil {
log.Warn("Failed to create OpenID Connect Provider with name '%s' with url '%s': %v", providerName, source.OpenIDConnectAutoDiscoveryURL, err)
}
provider.HTTPClient = HTTPClient
return provider, err
}