Skip to content

Commit

Permalink
Fix zmartzone#45 : Add outgoing proxy support
Browse files Browse the repository at this point in the history
* Add proxy configuration on userinfo endpoint
  • Loading branch information
grrolland committed Jan 30, 2018
1 parent 1e81796 commit 8e9da8f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/resty/openidc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ local function openidc_call_userinfo_endpoint(opts, access_token)

local httpc = http.new()
openidc_configure_timeouts(httpc, opts.timeout)
openidc_configure_proxy(httpc, opts.proxy_opts)
local res, err = httpc:request_uri(opts.discovery.userinfo_endpoint, {
headers = headers,
ssl_verify = (opts.ssl_verify ~= "no")
Expand Down

0 comments on commit 8e9da8f

Please sign in to comment.