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

Add support for reCAPTCHA v3 #35

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

ar4s
Copy link

@ar4s ar4s commented Oct 14, 2021

Closes #33

Copy link

@giacomobuetler giacomobuetler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reCAPTCHA v3 Implemenation was tested with Wagtail Versions from 2.16.1 and also Wagtail 4.0.1. V2 and V3 function as described.

@enzedonline
Copy link

enzedonline commented Nov 3, 2023

From the Google developers guide:

Note: reCAPTCHA tokens expire after two minutes. If you're protecting an action with reCAPTCHA, make sure to call execute when the user takes the action rather than on page load

The reCaptcha will often expire before the user has time to fill in the form if loaded with the form. It should be attached to the form submit action instead. The form builder needs some changes to accommodate this.

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

Successfully merging this pull request may close these issues.

reCAPTCHA v3
3 participants