Skip to content
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

https_proxy ignored for token_endpoint connections #189

Open
Foorack opened this issue Sep 3, 2024 · 1 comment
Open

https_proxy ignored for token_endpoint connections #189

Foorack opened this issue Sep 3, 2024 · 1 comment

Comments

@Foorack
Copy link

Foorack commented Sep 3, 2024

I believe the Omniauth_openid_connect library bypasses https_proxy env variable when contacting e.g. token_endpoint.

Output of ::OpenIDConnect.http_client in Rails console show that Faraday is aware of the Proxy, and no "noproxy" sites are set.

@stanhu
Copy link
Contributor

stanhu commented Sep 10, 2024

I think this gem just calls ::OpenIDConnect::Client.new(client_options), which ends up creating Rack::OAuth2.http_client: https://github.com/nov/rack-oauth2/blob/2aedad5d7bfd6b28d29075f3a1a7d411d11a378a/lib/rack/oauth2.rb#L44-L52

I'm not sure how https_proxy would be bypassed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants