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
sitekey
to the configsecurity_captcha_sitekey
value, wrapped in quotes - Copy your
secret
to the configsecurity_captcha_secret
value, wrapped in quotes - Set the config
security_captcha_service
value to"hcaptcha"
- Set the
security_captcha_enabled
value 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
sitekey
to the configsecurity_captcha_sitekey
value, wrapped in quotes - Copy your
secret
to the configsecurity_captcha_secret
value, wrapped in quotes - Set the config
security_captcha_service
value to"recaptcha"
- Set the
security_captcha_enabled
value totrue
, not wrapped in quotes.
reCAPTCHA v3 and other v2 types may or may not work.