Turnstile

Introduction to Cloudflare Turnstile

Cloudflare Turnstile is an advanced CAPTCHA solution designed to verify users without the typical challenges posed by traditional CAPTCHA systems. It enhances security while providing a smooth, user-friendly experience by eliminating friction for legitimate users.

Integration Steps

  1. Create Secret and Site Key

    To start using Cloudflare Turnstile, you must generate a secret key and a site key. Follow these steps:

    1. Log in to your Cloudflare account or create one if you don't have it.

    2. Create a new Turnstile site and obtain your secret key and site key.

  2. Update the API Configuration To enable Turnstile in WePublish CMS, you need to configure the API settings by updating the challenge section in the configuration YAML file.

    Example Configuration: ---- challenge: type: 'turnstile' secret: your-secret-key siteKey: your-site-key ----

  3. Complete Setup Once the keys are added to your configuration file:

    • Save the updated file.

    • Restart the CMS or reload the configuration if necessary.

    That’s it! The integration process is simple and ensures enhanced protection with minimal user disruption.

Last updated