'Recaptcha secret key, where is it in my Google Cloud Recaptcha account?
I am attempting to setup a google recaptcha on my site and the plugin I am using is asking for the site key AND a secret key. No idea what a secret key is, I cannot find it in my settings anywhere in Google Cloud. Any help is greatly appreciated.
Solution 1:[1]
Try going to https://g.co/recaptcha/v3 and use that UI to set up your reCaptcha. With that process I was provided with two keys, a site key for the frontend and a secret key for the backend.
Google seems to have a couple of different ways to set up recaptcha and the documentation is out of sync with reality so there are many dead ends to get lost in. I spent a long time in the Google Cloud Platform and it was useless.
Solution 2:[2]
Enterprise ReCaptcha is a bit different than the standard one.
- Login to Google cloud platform and select your project from the top menu.
- Search for reCAPTCHA Enterprise in the search box.
- On that screen you can definite Enterprise keys (public site key) and their settings (allowed domains, etc...)
- In order to create a secret key, go to: APIs and services menu. Select 'Credentials' and define a new API key (secret key).
Hope that helps.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Rimu Atkinson |
Solution 2 | Milen |