-
Notifications
You must be signed in to change notification settings - Fork 184
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
Unable to use Forward Proxy in SSO Auth for oauth token #305
Comments
We were able to hit the same endpoint using cURL library from the same container with same environment variables. |
Any luck here? |
@Jusshersmith I tried with your commit. It fixed sso_auth issue, now we i am seeing issue with sso_proxy. Attaching logs here. sso proxy is calling its self domain with /google/redeem (where google is oauth provider here)and then its failing. Note: sso-proxy also using same image and it contains the proxy environment variables.
|
@Jusshersmith Any luck here? |
Hey @saithejareddy, Thanks for testing that change, and for the extra detail you've sent over. I'm sorry, I didn't have as much time yesterday to look into your response as I would have liked. I'll try to find some time today, but to be realistic, it will likely end up being next week I'm afraid. |
Hey @Jusshersmith Thank you so much. |
@Jusshersmith Any luck here? :( |
Hi @saithejareddy, Might the Squid proxy provide any logging or metrics that could prove useful here? As far as I can tell, by the time you see the |
If you look at the below error, It's clear that
|
I had tested adding ProxyFromEnvironment here as mentioned in the above PR as well. It works for me..! Thanks for the help. 🤝 |
I am seeing same above issue when upgraded to v3.0.0. Unable to figure out why this issue started coming up again. Can you please help here? |
We are running buzzfeed-sso in a private cluster which don't have access to internet.
For Applications which will communicate to internet facing services we are using a forward proxy(Squid) hosted in same network.
Using below Environment variables to connect with Proxy:
We are getting below error from the sso-authenticator application.
{"error":"Post https://www.googleapis.com/oauth2/v4/token: dial tcp 142.250.183.42:443: i/o timeout","level":"error","msg":"error redeeming authentication code","remote_address":"<redacted>","service":"sso-authenticator","time":"2021-05-23 16:31:43.135"}
Is there any other way to achieve this?
The text was updated successfully, but these errors were encountered: