Generating the reCAPTCHA keys

Generating the reCAPTCHA keys

1. Access the Google Cloud Console

Access the Google Cloud Console at the address below:
Quote
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.
Quote
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

On the Google Cloud reCAPTCHA page:
https://console.cloud.google.com/security/recaptcha

Within the correct project, on the reCAPTCHA page, click Create Key (or Configure reCAPTCHA protection).

5. Fill in the required information

  1. Display Name: Descriptive name used to identify the key in the key list
  2. Application type: Select WEB for Scriptcase applications.
  3. Domain list: Click Add Domain and inform the domains where this API will be used.
    Examples:
    1. mysite.com
    2. localhost

Click Next step to define the reCAPTCHA behavior.
Info
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).
  1. If the challenge is enabled – Select Recaptcha -V2
  2. If the challenge is disabled – Use Recaptcha -V3

Applications with reCAPTCHA available

  1. Form
  2. Calendar
  3. Control
In the applications
  1. Site Key – Enter the ID (7. Getting the Site Key)
  2. 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:
  1. Secret Key – Enter the secret key (8. Getting the Secret Key)
  2. 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 ...