Merge pull request #14129 from piotrekfilip/Add-support-for-http-proxy-in-oidc-insecureTransport

Add support for http proxy in oidc insecureTransport
This commit is contained in:
Daniel Jiang 2021-02-24 18:51:30 +08:00 committed by GitHub
commit a4a995327b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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