Captcha
Protect your LaunchSaaS forms from bots with Cloudflare Turnstile, hCaptcha, or CaptchaFox. Easy integration for auth pages and contact forms.
Captcha
LaunchSaaS supports multiple captcha providers for bot protection on forms and authentication pages.
Supported Providers
| Provider | Description |
|---|---|
| Cloudflare Turnstile | Privacy-focused, free |
| hCaptcha | Privacy-focused, free tier |
| CaptchaFox | Lightweight alternative |
Setup
Cloudflare Turnstile (Recommended)
- Go to Cloudflare Dashboard → Turnstile
- Add a site
- Copy the Site Key and Secret Key
- Add to your
.env:
NEXT_PUBLIC_CAPTCHA_PROVIDER=cloudflare-turnstile
NEXT_PUBLIC_CAPTCHA_PUBLIC_KEY="your-site-key"
CAPTCHA_SECRET_KEY="your-secret-key"hCaptcha
- Sign up at hcaptcha.com
- Add a site
- Copy the Site Key and Secret Key
- Add to your
.env:
NEXT_PUBLIC_CAPTCHA_PROVIDER=hcaptcha
NEXT_PUBLIC_CAPTCHA_PUBLIC_KEY="your-site-key"
CAPTCHA_SECRET_KEY="your-secret-key"CaptchaFox
- Sign up at captchafox.com
- Create a project
- Copy the Site Key and Secret Key
- Add to your
.env:
NEXT_PUBLIC_CAPTCHA_PROVIDER=captchafox
NEXT_PUBLIC_CAPTCHA_PUBLIC_KEY="your-site-key"
CAPTCHA_SECRET_KEY="your-secret-key"Disable Captcha
To disable captcha, leave the NEXT_PUBLIC_CAPTCHA_PROVIDER empty or remove it:
NEXT_PUBLIC_CAPTCHA_PROVIDER=