Skip to main content

Cloudflare Turnstile

Cloudflare Turnstile is a privacy-friendly captcha alternative. Use it as a Casdoor captcha provider.

Create a key pair

  1. Create a Cloudflare account and open the Turnstile tab.
  2. Add a widget name and your site’s hostname, choose a widget type (e.g. Managed), and click Create.
  3. Copy the Site Key and Secret Key.

Cloudflare Turnstile preview Cloudflare Turnstile preview

Configure in Casdoor

Create a Captcha provider, set Type to Cloudflare Turnstile, and enter the site key and secret key. Use Preview to check the captcha.

Cloudflare Turnstile provider Cloudflare Turnstile preview

Use in an application

Edit the application, add the Cloudflare Turnstile provider, and save.

Cloudflare Turnstile provider app