Cloudflare Turnstile
How to integrate Cloudflare Turnstile in your application.
Sign in to Cloudflare
Go into Cloudflare and sign in.
Add a domain
Select Add a domain
button and add your domain.
Follow the instructions to add your domain. If you have any trouble, you can check the Cloudflare documentation.
Create a widget
Go to the Turnstile
section and create a new widget.
// import homeTurnstile from '@/assets/guides/captcha/cloudflare.png';
Configure the widget
Configure the widget to your needs. We support all the mods that Cloudflare provides like Managed
, Non-interactive
and Invisible
.
Remember to add your hostname to the Hostname Management
list.
Get the Site Key & Secret Key
After you create the widget, you will get the Site Key
and Secret Key
. Save it, You will need these keys to integrate the widget into your application.
Provide keys to VitNode
Edit your app.module.ts
file and add captcha
object to the VitNodeModule
configuration.