We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have configured OAuth2 client in Spring Security as below
It works well with Internet connection. When I run the app with VPN and outbound traffic through HTTP Proxy, I got the following error:
By looking at the source code here: https://github.com/spring-projects/spring-security/blob/7c54c0e4fa7e026157f492002e4ef29809ec3a07/oauth2/oauth2-client/src/main/java/org/springframework/security/oauth2/client/registration/ClientRegistrations.java#LL60C1-L67C3
It seems that ClientRegistrations do not honour http.proxyHost and http.proxyPort properties during the creation of RestTemplate.
Please advise any workaround or solution so that we can use ClientRegistrations requesting OIDC metadata through Proxy. Thanks
The text was updated successfully, but these errors were encountered:
We are also experiencing the same issue with our new SAAS agent, if there is an operational work round, that would be amazing.
Ben
Sorry, something went wrong.
Hi @kyyung, thanks for the report.
I believe that this is related to #8882, therefore I'm closing this as a duplicate. If this is not related to #8882, we can reopen this.
You might want to add your use case to the other issue if it is not already covered there.
marcusdacoregio
No branches or pull requests
I have configured OAuth2 client in Spring Security as below
It works well with Internet connection. When I run the app with VPN and outbound traffic through HTTP Proxy, I got the following error:
By looking at the source code here:
https://github.com/spring-projects/spring-security/blob/7c54c0e4fa7e026157f492002e4ef29809ec3a07/oauth2/oauth2-client/src/main/java/org/springframework/security/oauth2/client/registration/ClientRegistrations.java#LL60C1-L67C3
It seems that ClientRegistrations do not honour http.proxyHost and http.proxyPort properties during the creation of RestTemplate.
Please advise any workaround or solution so that we can use ClientRegistrations requesting OIDC metadata through Proxy. Thanks
The text was updated successfully, but these errors were encountered: