Add support invisible recaptcha enterprise to recaptcha_v3

Created on 4 September 2025, about 1 month ago

Problem/Motivation

There is currently no option in the configuration page to select project id and score to support Enterprise invisible Captcha

There should be option to support Enterprise reCAPTCHA

Steps to reproduce

Navigate to admin/config/people/captcha/recaptcha
add v3 captcha and use enterprise key captcha will not come and validate

Proposed resolution

I am attaching all patch file to supporting Enterprise reCAPTCHA apply this patch and test
Add a checkbox in the config page with label: Use Enterprise JS and a textfield for the Enterprise Project ID.
This will determine the Javascript API to be loaded - https://www.google.com/recaptcha/api.js for Free version; https://www.google.com/recaptcha/enterprise.js for Enterprise version. Project ID is the ID of the Google Cloud project for which the reCAPTCHA_V3 Enterprise API is enabled.

Remaining tasks

User interface changes

after create filed we nee to provide project id and set score 0.5

Introduced terminology

API changes

api url change https://www.google.com/recaptcha/enterprise.js

Data model changes

Release notes snippet

💬 Support request
Status

Needs review

Version

2.0

Component

Code

Created by

🇮🇳India imran2734

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024