reCAPTCHA V3
In Umbraco Forms, reCAPTCHA V3 comes out of the box.
reCAPTCHA v3 allows you to verify if an interaction is legitimate without any user interaction.
Enabling reCAPTCHA V3
Follow these steps to enable reCAPTCHA V3 in Umbraco Forms:
Go to the Forms section in the backoffice.
Find the form that should have ReCAPTCHA v3 enabled.
Add a new question and select ReCAPTCHA v3 with Score as its answer type.
Make sure the field is set as Mandatory.
Configure ReCAPTCHA settings in the
appSettings.jsonfile to include public and private keys:
"Umbraco"{
"Forms": {
"FieldTypes": {
"Recaptcha3": {
"SiteKey": "",
"PrivateKey": ""
}
}
}
}You can create your keys by logging into your reCAPTCHA account.
Additional Configuration Options
Refer to Configuration to see additional options that can be set in the appSettings.json for reCAPTCHA v3.
Last updated
Was this helpful?