This library implements a collection protection in Payload CMS using Google reCAPTCHA v3.
The Payload reCAPTCHA v3 Plugin is a plugin for Payload, a platform that allows the creation of APIs for web applications. This plugin is designed to protect collection operations in Payload using Google reCAPTCHA v3.
To install the Payload reCAPTCHA v3 Plugin, follow these steps:
secret: Your Google reCAPTCHA v3 secret key (required).errorHandler: Optional function that throws exceptions. By default, it throws Forbidden when the response from Google is not a success.The Payload reCAPTCHA v3 Plugin is a valuable tool for protecting collection operations in Payload using Google reCAPTCHA v3. By integrating this plugin, you can add an extra layer of security to your Payload API and ensure that only valid reCAPTCHA tokens are accepted. Installation is straightforward, requiring the matching major version of the plugin and Payload, along with the necessary configuration options. Overall, this plugin enhances the security of your Payload-powered web applications.