Expand my Community achievements bar.

SOLVED

Puzzle captcha integration in AEM

Avatar

Level 3

Hi

Is there any AEM supportive puzzle captcha available

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @HelpTech 
AEM OOTB does not support puzzle captcha.

You have to custom built this for your project. 



Arun Patidar

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi @HelpTech 
AEM OOTB does not support puzzle captcha.

You have to custom built this for your project. 



Arun Patidar

Avatar

Level 4

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.