From e49af049b3a189faea558501d61450cfa0f3fae0 Mon Sep 17 00:00:00 2001 From: devonbleak Date: Tue, 5 Feb 2019 17:16:51 -0800 Subject: [PATCH] Add Proxy support for OktaClient.Get (#115) --- lib/okta.go | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/okta.go b/lib/okta.go index 7fcf204f..943a4902 100644 --- a/lib/okta.go +++ b/lib/okta.go @@ -473,6 +473,7 @@ func (o *OktaClient) Get(method string, path string, data []byte, recv interface } transCfg := &http.Transport{ + Proxy: http.ProxyFromEnvironment, TLSHandshakeTimeout: Timeout, } client = http.Client{