mirror of
https://github.com/goharbor/harbor.git
synced 2024-09-29 13:57:33 +02:00
Add support for http proxy in oidc insecureTransport
Signed-off-by: piotrekfilip <43957913+piotrekfilip@users.noreply.github.com>
This commit is contained in:
parent
a211b0c9d7
commit
db47cf7f46
@ -110,6 +110,7 @@ var insecureTransport = &http.Transport{
|
|||||||
TLSClientConfig: &tls.Config{
|
TLSClientConfig: &tls.Config{
|
||||||
InsecureSkipVerify: true,
|
InsecureSkipVerify: true,
|
||||||
},
|
},
|
||||||
|
Proxy: http.ProxyFromEnvironment,
|
||||||
}
|
}
|
||||||
|
|
||||||
// Token wraps the attributes of a oauth2 token plus the attribute of ID token
|
// Token wraps the attributes of a oauth2 token plus the attribute of ID token
|
||||||
|
Loading…
Reference in New Issue
Block a user