This article provides instructions on how to create a reCAPTCHA v2 key in the Google Cloud Console and then configure the key for use within Okta.
- CAPTCHA integration
- reCAPTCHA v2
- Okta Identity Engine
To generate the necessary keys, a reCAPTCHA v2 key must be created in the Google Cloud Console. For more details, refer to the Google Cloud Documentation.
- In the Google Cloud Console, select or create a Google Cloud project to associate with the reCAPTCHA key.
- Navigate to the APIs & Services section and select Library.
- Search for the reCAPTCHA Enterprise API and enable it for the selected project.
- Go to the reCAPTCHA section, which is often found under Security or by searching for "reCAPTCHA".
- Click on Create key.
-
In the Create key window, configure the required settings.
-
Enter a descriptive Display name for the key.
-
Select the Application type.
-
Select Add a domain and enter the domain where reCAPTCHA v2 will be used (for example, the Okta default domain or a custom domain). Multiple domains can be added.
-
Click Create key.
NOTE: The reCAPTCHA site key is also referred to as the ID. For reCAPTCHA v2, a secret key is also required for server-side verification. To find the secret key, select Use Legacy Key within the Integration tab of the key's details.
-
To configure the reCAPTCHA v2 service in Okta:
-
In the Admin Console, go to Security > General.
-
In the CAPTCHA Integration section, configure the following settings:
-
Type: Select reCAPTCHA v2.
-
Site key: Paste the site key (ID) from the Google Cloud reCAPTCHA Admin console.
-
Secret key: Paste the secret key obtained via Use Legacy Key from the Google Cloud reCAPTCHA Admin console.
-
-
In the Enable CAPTCHA for section, select the types of authentication for which to use CAPTCHA.
- Click Save.
Related References
- For more information on Okta's CAPTCHA integration settings, see the Okta CAPTCHA Integration Documentation.
