function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Guillaume ZeemanGuillaume Zeeman 

Is it possible to implement Google reCAPTCHA in an LWC community page

We are currently creating a LWC community registration page and we want to implement the Googlge reCAPTCHA module. We are unable to use this module because of the locker services, which prevents access to the DOM. 


Does anyone perhaps know a method to implement the reCAPTCHA module in an LWC communtiy page?

Suraj Tripathi 47Suraj Tripathi 47


You can take references from the below link.

Please mark it as the Best Answer if it helps you.


Yogendra JangidYogendra Jangid
Hi Guillaume,

Following blog might help you how to integrate the google recaptcha in any lightning web component.
you can also refer following guide for how to set up in lightning communities. (

If this helps, please can you mark this as best answer.