mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Merge branch '9703-auth-proxy'
* 9703-auth-proxy: go fmt fixes configure proxy environments for Transport property
This commit is contained in:
@@ -78,6 +78,7 @@ func OAuthLogin(ctx *m.ReqContext) {
|
||||
|
||||
// handle call back
|
||||
tr := &http.Transport{
|
||||
Proxy: http.ProxyFromEnvironment,
|
||||
TLSClientConfig: &tls.Config{
|
||||
InsecureSkipVerify: setting.OAuthService.OAuthInfos[name].TlsSkipVerify,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user