Skip to Content
Menu
This question has been flagged

Hello,

I would like to enable Cloudflare Turnstile on my website's registration page.


I've already configured it with the keys and it works on the forms in the site.


Anyone have any idea how to configure Cloudflare Turnstile on the signup page to prevent bot signups?


Thanks to all


Avatar
Discard
Best Answer

Cloudflare's Turnstile CAPTCHA is an effective way to prevent bot registrations on Odoo websites, but by default, it is not applied to the user registration page. Here's how you can integrate it properly:

1. Configure Turnstile on Cloudflare

  • Log into your Cloudflare account.
  • Navigate to Turnstile and click Add Site.
  • Provide your domain and choose Managed Mode (recommended).
  • Copy the Site Key and Secret Key for later use.

2. Enable Turnstile in Odoo

  • Go to Odoo Settings > Integrations.
  • Locate Cloudflare Turnstile and enable it.
  • Enter the Site Key and Secret Key obtained from Cloudflare.
  • Save your settings.

3. Apply Turnstile to the Registration Page

Since Odoo does not automatically add Turnstile to the registration form, you'll need custom implementation:

  • Frontend: Modify the signup page template to include the Turnstile CAPTCHA widget.
  • Backend: Implement server-side validation to ensure CAPTCHA responses are verified before user creation.
  • Alternative: Consider third-party modules that integrate Turnstile into login/signup flows 

4. Testing & Security Best Practices

  • Ensure CAPTCHA verification works before allowing user sign-up.
  • Regularly monitor registration logs for suspicious activity.
  • Update Odoo and Turnstile settings to stay ahead of bot attacks.

At Wan Buffer Services, we’ve successfully integrated Turnstile CAPTCHA in Odoo deployments for enhanced security.

Avatar
Discard
Author Best Answer

Thanks for that clear answer !

Avatar
Discard
Best Answer

Hello,

To enable Cloudflare Turnstile (captcha) on the registration page you can check out the module below.
Maybe it will help you fix your query 
https://apps.odoo.com/apps/modules/18.0/cr_odoo_cloudflare_integration

Thanks,
info@creyox.com

Avatar
Discard
Related Posts Replies Views Activity
0
Nov 22
1506
0
Jan 21
1664
5
Jul 19
4298
1
May 16
3326
3
Apr 16
9403