Puzzle captcha integration in AEM | Community
Skip to main content
Best answer by arunpatidar

Hi @helptech 
AEM OOTB does not support puzzle captcha.

You have to custom built this for your project. 

2 replies

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
December 3, 2024

Hi @helptech 
AEM OOTB does not support puzzle captcha.

You have to custom built this for your project. 

Arun Patidar
AmitVishwakarma
Community Advisor
Community Advisor
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.