Skip to content
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

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

Open
dellch opened this issue Oct 24, 2022 · 3 comments
Open

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

dellch opened this issue Oct 24, 2022 · 3 comments

Comments

@dellch
Copy link

dellch commented Oct 24, 2022

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 <script src="https://www.google.com/recaptcha/api.js" async defer></script> with <script src="https://www.recaptcha.net/recaptcha/api.js" async defer></script>
  • After that, apply the same to everywhere else that uses "www.google.com/recaptcha/" on your site.
@dellch
Copy link
Author

dellch commented Oct 24, 2022

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
Copy link
Collaborator

grosser commented Oct 24, 2022

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants