From 8e9da8f8e45099585703cd133489df14b1ed4ef7 Mon Sep 17 00:00:00 2001 From: grrolland Date: Tue, 30 Jan 2018 10:40:42 +0100 Subject: [PATCH] Fix zmartzone/lua-resty-openidc#45 : Add outgoing proxy support * Add proxy configuration on userinfo endpoint --- lib/resty/openidc.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/resty/openidc.lua b/lib/resty/openidc.lua index eb8730f..3e30731 100644 --- a/lib/resty/openidc.lua +++ b/lib/resty/openidc.lua @@ -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")