Re-Captcha
Configure your Google reCAPTCHA to ensure only humans can submit forms and click buttons
Google reCAPTCHA v3 is a service provided by Google that returns a user score without any interaction from the user. This can integrated with buttons to prevent bots from clicking the button on your website without a human present.
1. Go to the reCAPTCHA add site page
2. Create a new site with version reCAPTCHA v3 and the domain app.appsmith.com
Click to expand
3. Copy the site and secret key
click to expand
4. Paste the site key in the button reCAPTCHA field
click to expand
5. Configure the server-side integration on your backend
The exact steps will depend on your backend - see Google's reference for detailed instructions.
The user's reCAPTCHA response can be obtained in the API Pane with the recaptchaToken key.
Make a POST request to https://www.google.com/recaptcha/api/siteverify with the secret (secret key) and response (user response) parameters to retrieve the score in a JSON format:
1
{
2
"success": true|false, // whether this request was a valid reCAPTCHA token for your site
3
"score": number // the score for this request (0.0 - 1.0)
4
"action": string // the action name for this request (important to verify)
5
"challenge_ts": timestamp, // timestamp of the challenge load (ISO format yyyy-MM-dd'T'HH:mm:ssZZ)
6
"hostname": string, // the hostname of the site where the reCAPTCHA was solved
7
"error-codes": [...] // optional
8
}
Copied!

Validation Example

click to expand
Last modified 2mo ago
Copy link
Edit on GitHub