Skip to content

Configuring reCAPTCHA

reCAPTCHA docs

See the reCAPTCHA Developer’s Guide for more information

reCAPTCHA v3 is a free Google-provided service that helps protect the app from spam and abuse by using advanced risk analysis techniques to tell humans and bots apart.

reCAPTCHA is applied to all forms in the Benefits app that collect user-provided information. Version 3 works silently in the background, with no additional interaction required by the user.

Environment variables

Warning

The following environment variables are all required to activate the reCAPTCHA feature

DJANGO_RECAPTCHA_API_URL

URL to the reCAPTCHA JavaScript API library.

By default, https://www.google.com/recaptcha/api.js

DJANGO_RECAPTCHA_SITE_KEY

Site key for the reCAPTCHA configuration.

DJANGO_RECAPTCHA_SECRET_KEY

Secret key for the reCAPTCHA configuration.

DJANGO_RECAPTCHA_VERIFY_URL

URL for the reCAPTCHA verify service.

By default, https://www.google.com/recaptcha/api/siteverify