Skip to content

Recaptcha enterprise compatibility? #34

@baden32

Description

@baden32

Hello,

Original Google recaptcha are supposed to migrate to new Enterprise reCAPTCHA with "small" changes (according to Google doc):

https://cloud.google.com/recaptcha/docs/using-features?hl=en

Verify that you have the following script included in your web pages: https://www.google.com/recaptcha/api.js.
In your web pages, replace https://www.google.com/recaptcha/api.js with https://www.google.com/recaptcha/enterprise.js.

Note: If your web pages have the https://www.recaptcha.net/recaptcha/api.js script, then replace it with https://www.recaptcha.net/recaptcha/enterprise.js.
If you programmatically invoke the API, then replace the following calls:

grecaptcha.execute() -> grecaptcha.enterprise.execute()
grecaptcha.getResponse() -> grecaptcha.enterprise.getResponse()
grecaptcha.ready() -> grecaptcha.enterprise.ready()
grecaptcha.render() -> grecaptcha.enterprise.render()
grecaptcha.reset() -> grecaptcha.enterprise.reset()
Migrate the backend calls
To use reCAPTCHA features, you must migrate your backend calls to the new endpoints and set up authentication:

Replace backend calls to https://www.google.com/recaptcha/api/siteverify with equivalent calls to recaptchaenterprise.googleapis.com. For the complete URL and the POST data format, see Create an assessment for your website.

Set up authentication to reCAPTCHA.

The authentication method you choose depends on the environment where reCAPTCHA is set up.

...

Is there any plan to migrate powermailrecaptcha to this new Google Captcha solution?

Thanks for your very powerfull extension and for your feedback.
Bads.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions