ReCaptcha

Pre-requirements

You can get your API key set from Google ReCaptcha.

Enable and Set-up

To enable ReCaptcha, you need to set those keys in your environment:

  1. RECAPTCHA_PUBLIC_KEY to your public/ site API key;
  2. RECAPTCHA_PRIVATE_KEY to your secret/ private API key.

Note

You are not required to set your public and private keys for development use. You can use the following development keys:

Key Value
RECAPTCHA_PUBLIC_KEY 6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI
RECAPTCHA_PRIVATE_KEY 6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe

You only have to set them up if you are using Saleor for production (Google will remind you if you do not).