LogoLaunchSaaS

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

ProviderDescription
Cloudflare TurnstilePrivacy-focused, free
hCaptchaPrivacy-focused, free tier
CaptchaFoxLightweight alternative

Setup

  1. Go to Cloudflare Dashboard → Turnstile
  2. Add a site
  3. Copy the Site Key and Secret Key
  4. 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

  1. Sign up at hcaptcha.com
  2. Add a site
  3. Copy the Site Key and Secret Key
  4. Add to your .env:
NEXT_PUBLIC_CAPTCHA_PROVIDER=hcaptcha
NEXT_PUBLIC_CAPTCHA_PUBLIC_KEY="your-site-key"
CAPTCHA_SECRET_KEY="your-secret-key"

CaptchaFox

  1. Sign up at captchafox.com
  2. Create a project
  3. Copy the Site Key and Secret Key
  4. 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=

References

Next Steps