跳到主内容

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预览 Cloudflare Turnstile预览

在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提供者 Cloudflare Turnstile预览

Use in an application

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

Cloudflare Turnstile提供者应用