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 recaptcha without google.com domain #227

Closed
grishin opened this issue Apr 24, 2018 · 2 comments
Closed

Use recaptcha without google.com domain #227

grishin opened this issue Apr 24, 2018 · 2 comments

Comments

@grishin
Copy link

grishin commented Apr 24, 2018

As google.com domain is blocked in Russia from today all calls to recaptcha fail. We changed all calls to https://www.recaptcha.net domain but it still fails.

I found that https://www.gstatic.com/recaptcha/api2/v1523860362251/recaptcha__en.js internally calls to google.com/recaptcha/ even if it is served from recaptcha.net base url. Diving deeper into code I found some internal (undocumented?) parameter p.__recaptcha_api that possibly changes the base url.

image

Still I can't understand how should this configuration be passed to internal script. Is there any documentation or examples for using recaptcha in such conditions?

@rowan-m
Copy link
Contributor

rowan-m commented Aug 1, 2018

Reliability of results and user experience if you're going through a proxy is really out of scope for this repo. I've updated the code to allow for setting of an explicit URL and I'm happy to take PRs that add RequestMethods for better working within a proxy. There's quite a bit of discussion on #87 that may help.

@varunachar
Copy link

This is still an issue. There are still requests that go to google.com domain from the script loaded via recaptcha.net. Has a workaround been published somewhere I can take a look? I prefer not to setup a proxy just for this.

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

No branches or pull requests

3 participants