Puzzle captcha integration in AEM | Community
Skip to main content
arunpatidar
arunpatidarAccepted solution
New Participant
December 3, 2024

Hi @helptech 
AEM OOTB does not support puzzle captcha.

You have to custom built this for your project. 

Arun Patidar

2 replies

AmitVishwakarma
Level 1
January 17, 2025

AEM doesn't have a built-in CAPTCHA, but you can integrate third-party services like Google reCAPTCHA or create a custom puzzle CAPTCHA.

For Google reCAPTCHA:

  1. Frontend (HTL): Add the reCAPTCHA widget to your form.

     

 

<script src="https://www.google.com/recaptcha/api.js" async defer></script> <div class="g-recaptcha" data-sitekey="your-site-key"></div>

 

Backend (Java): Verify the CAPTCHA response on form submission.

 

String recaptchaResponse = request.getParameter("g-recaptcha-response"); // Verify using Google API

 



You can also use other third-party CAPTCHA services like hCaptcha or FunCaptcha by following similar steps.

Translate
arunpatidar
arunpatidarAccepted solution
New Participant
December 3, 2024

Hi @helptech 
AEM OOTB does not support puzzle captcha.

You have to custom built this for your project. 

Translate
Arun Patidar