Enable reCAPTCHA to Protect Against Automated Abuse
We have decided to enable Google's reCAPTCHA to protects you against spam and other types of automated abuse from making verification requests, especially using SMS or WhatsApp as it will cause you to lose money from sending these messages.
Enabling Google reCAPTCHA
reCAPTCHA is now available for the JavaScript SDK. We are using invisible Google reCAPTCHA v2. This means that the reCAPTCHA prompt will be automatically triggered when the user press "Login", and if Google has suspicions about this request, it may prompt the user to solve some puzzle. Here's how it looks:
reCAPTCHA using Cotter's JS SDK
Step 1: To show the reCAPTCHA in your website, enable it in the dashboard:
Go to Settings > Branding > Magic Link Form or OTP Verification Form > Phone Number
Captcha settings can only be enabled for Phone Number verification
Adjust your container div to fit the reCAPTCHA prompt:
Option 1: Set the container div to at least 530px high, 300px wide.