1. Access the Google Cloud Console
Access the Google Cloud Console at the address below:
If prompted, log in with your Google account.
2. Select (or create) a project.
At the top of the console, click the project selector and choose the correct project.
If you need to create a project, do it through the project selector.
3. Enable the reCAPTCHA Enterprise API in the project
Use the link below to open the API activation page:
You can also access the API activation page by searching for: reCAPTCHA Enterprise API
4. Generate reCAPTCHA keys
Within the correct project, on the reCAPTCHA page, click Create Key (or Configure reCAPTCHA protection).
- Display Name: Descriptive name used to identify the key in the key list
- Application type: Select WEB for Scriptcase applications.
- Domain list: Click Add Domain and inform the domains where this API will be used.
Examples:
- mysite.com
- localhost
Click Next step to define the reCAPTCHA behavior.
After these settings, reCAPTCHA will already be ready to use in the application, working by default in score-based mode, equivalent to reCAPTCHA v3, where validation occurs automatically without requiring user interaction.
Click Create Key to finish creating the key.
6. Other Settings (Optional)
This configuration step is optional and defines whether or not to use challenges such as the checkbox "I'm not a robot" or image challenges.
Enable the option Will you use challenges? and define the challenge difficulty level.
Click Create Key to finish.
7. Getting the Site Key
After finishing the reCAPTCHA configuration, the key will be displayed at the top of the page.
8. Getting the Secret Key
To obtain the Secret Key click on Integrate with an external plugin service.
A screen with the key will be displayed.
Configuration in Scriptcase
The keys obtained in steps 7. Getting the Site Key and 8. Getting the Secret Key must be used to configure Recaptcha -V2 or Recaptcha -V3.
The type used will depend on how it was configured in step 6. Other Settings (Optional).
- If the challenge is enabled – Select Recaptcha -V2
- If the challenge is disabled – Use Recaptcha -V3
Applications with reCAPTCHA available
- Form
- Calendar
- Control
In the applications
- Site Key – Enter the ID (7. Getting the Site Key)
- Secret Key – Enter the secret key (8. Getting the Secret Key)
Recaptcha in the Security Module
When creating the security module it is possible to configure Recaptcha (V2 and V3).
To configure it in the security module enter:
- Secret Key – Enter the secret key (8. Getting the Secret Key)
- Site Key – Enter the ID (7. Getting the Site Key)
Related Articles
See how to generate recaptcha credentials
ReCAPTCHA is an API provided by Google for forms. It adds security, preventing automatic submission of forms through robots. reCAPTCHA sample: First, we must request an API Key to activate reCAPTCHA into a Scriptcase application by following the ...
Generating Diagnosis in Development
Generating Diagnosis from the Scriptcase interface First, you need to login to Scriptcase, and go to the Top Menu and click on Help -> Diagnosis. It will load a page containing your server's environment information, to save it click on the link at ...
Execution of reCaptcha Displays Error - MacOS
If the error below is displayed when submitting the form / control with reCaptcha, perform the following steps: Warning: file_get_contents (): SSL operation failed with code 1. OpenSSL Error messages: error: 14090086: SSL routines: ...
Generating Credentials for Authentication with Twitter
In this article, we will learn how to generate credentials (API Key and API Key Secret) for authentication and access to our project developed in ScriptCase through Twitter. Account Creation 1 - The first step is to create a Twitter account through ...
Generating Credentials for Authentication with Facebook
In this article, we will learn how to generate credentials (App ID and Secret) for authentication and access to our project developed in ScriptCase through Facebook. 1 - The first step is to create a Facebook account as a "developer". We need to ...