I am trying to include a recaptcha verification on a 'forgot password' screen for users that are trying to connect to a mobile hotspot. Prior to logging in, they have very limited access through the firewall, and therefore the forgot password screen can't download the js file from the standard script generated by Recaptcha.createRecaptchaHtml:
<script type="text/javascript" src="https://www.google.com/recaptcha/api/challenge?k=...."></script>
I can get around this by changing the src above to point to a local address, and setting up a reverse proxy to forward it to google.
However, this call downloads an additional javascript (https://www.google.com/recaptcha/api/js/recaptcha.js) file that contains more references to google (and I believe other sites as well) that the page cannot reach.
Question: Has anyone tried to do something like this, and is there an elegant solution? If not, I will resort to a simpler captcha solution that requires fewer firewall changes.
Add Google reCAPTCHA to a formClick the pencil icon or Edit on the form or newsletter block. In the Storage tab, click Google reCAPTCHA. Switch the Use Google reCAPTCHA toggle on. Repeat these steps for all form blocks on your site where you want to add a reCAPTCHA.
reCAPTCHA support Unfortunately it may happen to good users like you for a few reasons: You may be on a shared network that is being used abusively. Your internet service provider may have recently assigned you a suspicious IP address. The site you are trying to access may be currently under heavy attack.
While reCAPTCHA v2 and v3 can help block some bot traffic, they cannot stop advanced scalper bots, scraper bots, DDoS, ATO attacks, etc.
Help for reCAPTCHA usersMake sure your browser is fully updated (see minimum browser requirements) Check that JavaScript is enabled in your browser. Try disabling plugins that might conflict with reCAPTCHA.
For anyone still wondering, I ended up using a lighter-weight captcha solution that did not require additional calls.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With