Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Commit

Permalink
Add Proxy support for OktaClient.Get (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
devonbleak authored and nickatsegment committed Feb 6, 2019
1 parent 52fe61e commit e49af04
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/okta.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit e49af04

Please sign in to comment.