Cloudflare Turnstile
Configure Cloudflare Turnstile and send its short-lived token with the form.
Prepare the provider
- Register the exact development and production hostnames in the provider dashboard.
- Copy the public site key into the page and store the verification secret only in the server environment.
- Enable the matching provider in the form configuration and publish it.
Send the token with the request
Render the Cloudflare Turnstile widget, wait for a valid token, and include it with the same form submission. Tokens expire and should not be stored for later reuse.
Recover from verification failures
Show a clear retry action, request a new token, and distinguish a visitor error from provider downtime. Do not silently mark a failed challenge as successful.
Documentation reviewed on October 20, 2026Suggest an improvement →