system recaptcha-api
Use this command to specify the URL that FortiWeb will use to send API calls to Google reCAPTCHA service, and the timeout of the API request.
To use this command, your administrator account’s access control profile must have both r
and w
permissions to items in the admingrp
category.
Syntax
config system recaptcha-api
set url <string>
set timeout <int>
set recaptcha-v3-score-threshold <string>
end
Variable | Description | Default |
---|---|---|
url <string> |
Specify the URL of the Google reCAPTCHA service. FortiWeb sends API calls to this URL to verify client’s response to the reCAPTCHA challenge. Currently the URL is https://www.google.com/recaptcha/api/siteverify. Please note this URL is subject to change by Google. Please refer to https://developers.google.com/recaptcha/docs/verify#api_request for the latest URL and make sure FortiWeb is configured with the latest URL. |
https://www.google.com/recaptcha/api/siteverify |
timeout <int> | If there isn't any result returned from Google reCAPTCHA service by the timeout period, the bot confirmation will be treated as failed. |
10 (seconds) |
recaptcha-v3-score-threshold <string> |
reCAPTCHA v3 returns a score for each request. The score is based on interactions with your application. If the score surpasses the The valid range is 0-1. |
0.5 |