recaptcha-module icon indicating copy to clipboard operation
recaptcha-module copied to clipboard

Enable use for ReCaptcha enterprise

Open serge-wq opened this issue 3 years ago • 17 comments

The changes needed to be made are the following:

  • Make the script URL configurable. The enterprise script is located here: https://www.google.com/recaptcha/enterprise.js?render=reCAPTCHA_site_key
  • Make the calls to the enterprise grecaptcha API instead:
grecaptcha.enterprise.ready(function() {
      grecaptcha.enterprise.execute('reCAPTCHA_site_key', {action: 'homepage'}).then(function(token) {
       ...
    });
});

More documentation about this Google Cloud feature.

serge-wq avatar Mar 17 '21 08:03 serge-wq

up

vana-dev avatar Apr 01 '21 06:04 vana-dev

Upvote

henrygrant avatar May 27 '21 18:05 henrygrant

Please, this is important

urbgimtam avatar Jun 07 '21 15:06 urbgimtam

So?

Torone avatar Jul 07 '21 10:07 Torone

what is the solution ? I need help please

carloscdev avatar Jul 13 '21 20:07 carloscdev

Hey! Sorry for late response. I need an Enterprise key to test.

mvrlin avatar Jul 14 '21 19:07 mvrlin

Perhaps setup a branch with these changes so we can test it?

RobbieTheWagner avatar Sep 15 '21 19:09 RobbieTheWagner

Hi y'all!

Do the maintainers of this package think that this is something which will be added?

Looks like URL Endpoint change and some name updates to enable it.

https://cloud.google.com/recaptcha-enterprise/docs/using-features

James

jamesmills avatar Oct 19 '21 07:10 jamesmills

Hi all! Any updates here? Does anyone have an alternative solution for using Recaptcha Enterprise with Nuxt.js?

bfabbri avatar Apr 25 '22 14:04 bfabbri

Hey! Sorry for late response. I need an Enterprise key to test.

I could provide an enterprise key for testing.

serge-wq avatar Apr 28 '22 00:04 serge-wq

Hey! Sorry for late response. I need an Enterprise key to test.

I could provide an enterprise key for testing.

DM me please [email protected]

mvrlin avatar Apr 28 '22 11:04 mvrlin

any updates?

ttessman avatar May 17 '22 23:05 ttessman

any updates?

I'm waiting for the key and get to work right away

mvrlin avatar May 18 '22 08:05 mvrlin

@mvrlin i could prob test for you. I should be getting keys shortly but I can’t share them as I’m not the account holder. Could you post a branch?

ttessman avatar May 18 '22 10:05 ttessman

@serge-wq released the 1.1.0 https://github.com/nuxt-community/recaptcha-module/releases/tag/v1.1.0 🎉

mvrlin avatar May 21 '22 08:05 mvrlin

Mmmm… I believe you need you to change to this._grecaptcha.enterprise.excute or any other call as enterprise is from a new object grecaptcha.enterprise. Also you use mode but then I see you assign it from version. I apologize I only quickly looked at the plug-in folder. @mvrlin

ttessman avatar May 21 '22 12:05 ttessman

Mmmm… I believe you need you to change to this._grecaptcha.enterprise.excute or any other call as enterprise is from a new object grecaptcha.enterprise. Also you use mode but then I see you assign it from version. I apologize I only quickly looked at the plug-in folder. @mvrlin

https://github.com/nuxt-community/recaptcha-module/blob/v1.1.0/lib/plugin.js#L151 the assignment is happening here.

mvrlin avatar May 21 '22 21:05 mvrlin