Cloudflare Turnstile is a privacy-preserving alternative to traditional captchas that can be used independently of any of Cloudflare's other products and services. Xperience Cloudflare Turnstile integrates Turnstile's visitor validation into Kentico Xperience 13.0 Form Builder forms.
You can take advantage of Turnstile and stop bothering your visitors with a CAPTCHA even without being on the Cloudflare network. While we make it as easy as possible to use our network, we don't want this to be a barrier to improving privacy and user experience. - source
Kentico Xperience 13.0.66 (or higher) ASP.NET Core 6.0+ Form Component that adds Cloudflare Turnstile "captcha alternative" validation to Form Builder forms.
Kentico Xperience 13.0.66 (or higher) CMS installation module that adds Cloudflare Turnstile settings keys to the Settings application.
-
Install the
XperienceCommunity.Cloudflare.TurnstileNuGet package in your ASP.NET Core 6.0+ application:dotnet add package XperienceCommunity.Cloudflare.Turnstile
-
Install the
XperienceCommunity.Cloudflare.Turnstile.CMSNuGet package in your CMS application:dotnet add package XperienceCommunity.Cloudflare.Turnstile.CMS
-
Add a registration for the
TurnstileInstallerModulein yourCMSAppproject:using XperienceCommunity.Cloudflare.Turnstile.CMS [assembly: RegisterModule(typeof(TurnstileInstallerModule))] namespace CMSApp.Configuration { public class DependencyRegistrations { } }
On application startup, custom CMS settings will be added to the Settings application
-
Set the settings keys in the CMS Settings application with the values provided in your Cloudflare Dashboard.
-
Add the Cloudflare Turnstile Form Component to a Form Builder form.
-
Configure any properties on the Turnstile component
-
Load the form on your live site and test out the form submission! 💪
If you discover a problem, please open an issue.
If you would like contribute to the code or documentation, please open a pull request.