Skip to content

CAPTCHAs

Spacebar currently supports two CAPTCHA providers; reCAPTCHA and hCaptcha.

  1. Navigate to https://www.hcaptcha.com/
  2. Create an account - Add hCaptcha for Publishers to my website or app
  3. Copy your sitekey to the config security_captcha_sitekey value, wrapped in quotes
  4. Copy your secret to the config security_captcha_secret value, wrapped in quotes
  5. Set the config security_captcha_service value to "hcaptcha"
  6. Set the security_captcha_enabled value to true, not wrapped in quotes.
  1. Navigate to https://www.google.com/u/1/recaptcha/admin/create
  2. Fill in your websites details
  3. Select reCAPTCHA v2 -> "I'm not a robot" Checkbox
  4. Add your domain. For example, staging.spacebar.chat. Go to the next screen.
  5. Copy your sitekey to the config security_captcha_sitekey value, wrapped in quotes
  6. Copy your secret to the config security_captcha_secret value, wrapped in quotes
  7. Set the config security_captcha_service value to "recaptcha"
  8. Set the security_captcha_enabled value to true, not wrapped in quotes.

reCAPTCHA v3 and other v2 types may or may not work.