Add support for http proxy in oidc insecureTransport

Signed-off-by: piotrekfilip <43957913+piotrekfilip@users.noreply.github.com>
This commit is contained in:
piotrekfilip 2021-01-30 14:20:23 +01:00
parent a211b0c9d7
commit db47cf7f46
No known key found for this signature in database
GPG Key ID: D5319E84EAE468B1

View File

@ -110,6 +110,7 @@ var insecureTransport = &http.Transport{
TLSClientConfig: &tls.Config{
InsecureSkipVerify: true,
},
Proxy: http.ProxyFromEnvironment,
}
// Token wraps the attributes of a oauth2 token plus the attribute of ID token