ambethia / recaptcha

ReCaptcha helpers for ruby apps
http://github.com/ambethia/recaptcha
MIT License
1.97k stars 440 forks source link

Use www.recaptcha.net when www.google.com is not available? #422

Open dellch opened 1 year ago

dellch commented 1 year ago

Is there a configuration option in the package to configure the url to be www.recaptcha.net instead of www.google.com?

This is in reference to this FAQ item on developers.google.com/recaptcha/docs/faq: Can I use reCaptcha globally?

The answer to the FAQ:

Can I use reCAPTCHA globally? Yes, please use "www.recaptcha.net" in your code in circumstances when "www.google.com" is not accessible.

  • First, replace with
  • After that, apply the same to everywhere else that uses "www.google.com/recaptcha/" on your site.
dellch commented 1 year ago

Actually, now I'm looking at lib/recaptcha/configuration.rb, and it looks like this is the default URL.

Perhaps there is some other issue preventing some users in china from seeing the recaptcha box. Any suggestions?

grosser commented 1 year ago

no idea ... we switched to www.recaptcha.net to prevent these kind of issues, but maybe it's blocked now too

best ask someone in china to review reachability

qianjiachun commented 1 year ago

no idea ... we switched to www.recaptcha.net to prevent these kind of issues, but maybe it's blocked now too

best ask someone in china to review reachability

same... some of my users cannot access. I am a Chinese developer. Actually, most users can access recaptcha.net, but some users have such problems, which may mean that the domain name will be completely blocked in the future.

image