[go: nahoru, domu]

Skip to content

Commit

Permalink
Merge pull request goharbor#14129 from piotrekfilip/Add-support-for-h…
Browse files Browse the repository at this point in the history
…ttp-proxy-in-oidc-insecureTransport

Add support for http proxy in oidc insecureTransport
  • Loading branch information
reasonerjt committed Feb 24, 2021
2 parents 37efb6f + db47cf7 commit a4a9953
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/common/utils/oidc/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a4a9953

Please sign in to comment.