Closed nitesh-kreditz closed 8 months ago
Please search the prs that added the feature and make a PR with what you can find. If it's unclear you can try asked Ng the original contributors too.
On Mon, May 29, 2023, 4:27 AM nitesh-kreditz @.***> wrote:
Hi there is proper methods and documentation for V2 and V3 but there seems no methods define for ENTERPRISE version.
@ambethia https://github.com/ambethia
— Reply to this email directly, view it on GitHub https://github.com/ambethia/recaptcha/issues/429, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAACYZ2G2VSG3ZFR334CEFDXISBZ5ANCNFSM6AAAAAAYSVWJJ4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>
@ambethia @grosser searched PRs but don't find anything which have implemented enterprise version. Also if I add keys mentioned for enterprise then it give SITE_KEY
not found error.
export RECAPTCHA_ENTERPRISE = 'true' export RECAPTCHA_ENTERPRISE_API_KEY = 'AIzvFyE3TU-XXXXXXXXXXXXXXXXXXXXXXXX' export RECAPTCHA_ENTERPRISE_PROJECT_ID = 'my-project'
Hey @nitesh-kreditz,
I hope this helps, though I'm not entirely sure about the specifics of your situation.
For both legacy and enterprise setups, you'll need a RECAPTCHA_SITE_KEY
. This is typically provided by Google Cloud.
You can obtain the API and Project ID keys when you're retrieving API keys from Google. In summary, you should have these four environment variables set up:
RECAPTCHA_ENTERPRISE=true
RECAPTCHA_ENTERPRISE_API_KEY=AIzXXXXXXXXXXXXXXXXXXXXXXXXX
RECAPTCHA_ENTERPRISE_PROJECT_ID=project-name
RECAPTCHA_SITE_KEY=6LcXXXXXXXXXXXXXXXXXXXXXXX
Key RECAPTCHA_SECRET_KEY
is used in the backend to verify with recaptcha when enterprise is not setup, it's my understanding.
@nitesh-kreditz do you think it would have been useful for you to see something on the README.md
that expressed this better?
@victor-fdez Just upgraded my old keys to enterprise and it's worked. Thank you!
Hi there is proper methods and documentation for V2 and V3 but it seems there are no methods define for ENTERPRISE version.
@ambethia @grosser