-
-
Notifications
You must be signed in to change notification settings - Fork 247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
outgoing proxy support #45
Comments
I would have liked to point you to the support for that in the underlying lua-resty-http module that lua-resty-openidc uses to make such calls. But apparently that support does not exist there, see: ledgetech/lua-resty-http#63 So it would require modifications to lua-resty-openidc (or preferably lua-resty-http...) to make this work. Making this an enhancement request |
there's work-in-progress here: https://github.com/sjakthol/lua-resty-http/commit/0939833b0cca2a50054bf1db437db62295c1e299 |
Hello, I create a pull request to fix this issue. Let me know if this could be merged with the master branche. Regards. |
Nice work! Does it require a particular version of lua-resty-http? |
Yes, this patch require the version 0.11 of lua-resty-http. |
* Naïve implementation works with OpendId Connect Authorization Code Flow * Add proxy_opts table to the opts, with two values : - http_proxy (in curl format : http://<proxy_host>:<proxy_port>/) - https_proxy (in curl format : http://<proxy_host>:<proxy_port>/)
* Add proxy configuration on userinfo endpoint
Fix #45 : Add outgoing proxy support
Hi, we've got lua-resty-openidc working, and are now trying to get it to work in an environment that requires all traffic to go through an outbound proxy. We are getting a connection refused error when trying to access the discovery URL. We have installed the lua-resty-socket module but we're amateurs at lua. Could you point us in the right direction to get openidc to use a proxy?
The text was updated successfully, but these errors were encountered: