Add support for reCAPTCHA Enterprise

Created on 22 May 2024, 6 months ago
Updated 4 June 2024, 6 months ago

Problem/Motivation

There is currently no option in the configuration page to select which version of reCAPTCHA (Free or Enterprise) to integrate with.
The issue is similar with the one from simple_recaptcha module: https://www.drupal.org/project/simple_recaptcha/issues/3227631 Add support for reCAPTCHA Enterprise Needs work

Steps to reproduce

Navigate to admin/config/people/captcha/recaptcha

Proposed resolution

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 Enterprise API is enabled.

Feature request
Status

Needs review

Version

3.0

Component

reCAPTCHA V2

Created by

🇷🇴Romania aalin

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

Comments & Activities

Production build 0.71.5 2024