You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using the ReCaptcha module, the server has to access Google servers to validate the captcha. Unfortunately the HttpClient used by OpenAM is not configured to use proxy servers specified as Tomcat variables.
To Reproduce
Steps to reproduce the behavior:
In your enviroment, only allow access to the Internet via a proxy server
Set the JAVA_OPTS in the setenv.sh file as follows: JAVA_OPTS="$JAVAOPTS -Dhttps.proxyHost=<your_proxy_host> -Dhttps.proxyPort=<your_proxy_port> -Dhttps.nonProxyHosts=\"localhost|127.0.0.1|<whatever>\" -Dhttp.proxyHost=<your_proxy_host> -Dhttp.proxyPort=<your_proxy_port> -Dhttp.nonProxyHosts=\"localhost|127.0.0.1|<whatever>\""
Configure a ReCaptcha module for login or user self service
Try to complete a ReCaptcha-enabled flow, you will get an Internal Server Error
Expected behavior
The ReCaptcha module should be able to access Google servers via the configured proxy.
Additional context
The fix should be easy, I will provide a pull request as soon as possible.
Activity
lscorcia commentedon Mar 31, 2020
The fix requires both pull request OpenIdentityPlatform/commons#18 and #274 , so we need to update submodules.
Close #273 - Define a new server property to tell HttpClient classes …
lscorcia commentedon Mar 31, 2020
Thanks! Could you please update submodules?
vharseko commentedon Mar 31, 2020
done