Using the plugin behind Corporate Proxy
Closed this issue · 1 comments
lordgreg commented
Hi,
I've been using the plugin on my test set-up without any issues. When trying to use it behind corporate proxy, the discovery
url cannot be accessed and times out.
The proxy is set through env no_proxy, http_proxy and https_proxy. Sadly, it looks like the plugin does not use them and tries to access the discovery url directly.
Is there a way to pass these params to the plugin used (lua-resty-openidc - https://github.com/zmartzone/lua-resty-openidc)
-- proxy_opts = {
-- http_proxy = "http://<proxy_host>:<proxy_port>/",
-- https_proxy = "http://<proxy_host>:<proxy_port>/"
-- }
This has been an open PR for the official kong-oidc by Nokia (https://github.com/nokia/kong-oidc/pull/85/files), however, revomatico is not nokia :)
If this use-case currently isnt possible, please let me know if I can support implementing it.