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

reCAPTCHA v3 support #296

Open
barrywoolgar opened this Issue Oct 31, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@barrywoolgar
Copy link

barrywoolgar commented Oct 31, 2018

Hello, I happened to start using this gem yesterday and didn't realise v3 had only just been released.

Obviously I don't expect the gem to support that straight away, but I'm writing this so that anyone else will know that using v3 credentials and invisible tags does not seem to ever bring up the image picker and appears to let every request through the controller verification as if they were successful.

Switching to v2 credentials started working as expected with no fuss.

Thanks

@grosser

This comment has been minimized.

Copy link
Collaborator

grosser commented Oct 31, 2018

@barrywoolgar

This comment has been minimized.

Copy link

barrywoolgar commented Oct 31, 2018

Yup, bit stacked at the moment but will have a go if nobody beats me to it.

Looks like the script/verify paths are the same, just that the response success will now always be true for a valid token, and a new score value is returned that would be used to decide whether to accept or not (0.0 for definite-bots, 1.0 for definite-human).

There's more to it (the concept of scores per action, including the script on every page, etc), but just checking the score value looks like the minimum level of support needed in the first instance.

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