CAPTCHAs
Spacebar currently supports two CAPTCHA providers; reCAPTCHA and hCaptcha.
- Navigate to https://www.hcaptcha.com/
- Create an account -
Add hCaptcha for Publishers to my website or app - Copy your
sitekeyto the configsecurity_captcha_sitekeyvalue, wrapped in quotes - Copy your
secretto the configsecurity_captcha_secretvalue, wrapped in quotes - Set the config
security_captcha_servicevalue to"hcaptcha" - Set the
security_captcha_enabledvalue totrue, not wrapped in quotes.
- Navigate to https://www.google.com/u/1/recaptcha/admin/create
- Fill in your websites details
- Select
reCAPTCHA v2->"I'm not a robot" Checkbox - Add your domain. For example,
staging.spacebar.chat. Go to the next screen. - Copy your
sitekeyto the configsecurity_captcha_sitekeyvalue, wrapped in quotes - Copy your
secretto the configsecurity_captcha_secretvalue, wrapped in quotes - Set the config
security_captcha_servicevalue to"recaptcha" - Set the
security_captcha_enabledvalue totrue, not wrapped in quotes.
reCAPTCHA v3 and other v2 types may or may not work.