mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
configure proxy environments for Transport property
related issue: https://github.com/grafana/grafana/issues/9703
This commit is contained in:
@@ -75,9 +75,10 @@ func OAuthLogin(ctx *m.ReqContext) {
|
||||
ctx.Handle(500, "login.OAuthLogin(state mismatch)", nil)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
// 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