nuxt-community / recaptcha-module

🤖 Simple and easy Google reCAPTCHA integration with Nuxt.js
MIT License
250 stars 63 forks source link

Enable use for ReCaptcha enterprise #86

Open serge-wq opened 3 years ago

serge-wq commented 3 years ago

The changes needed to be made are the following:

grecaptcha.enterprise.ready(function() {
      grecaptcha.enterprise.execute('reCAPTCHA_site_key', {action: 'homepage'}).then(function(token) {
       ...
    });
});

More documentation about this Google Cloud feature.

vana-dev commented 3 years ago

up

henrygrant commented 3 years ago

Upvote

urbgimtam commented 3 years ago

Please, this is important

Torone commented 2 years ago

So?

carloscdev commented 2 years ago

what is the solution ? I need help please

mvrlin commented 2 years ago

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

RobbieTheWagner commented 2 years ago

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

jamesmills commented 2 years ago

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

bfabbri commented 2 years ago

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

serge-wq commented 2 years ago

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

I could provide an enterprise key for testing.

mvrlin commented 2 years ago

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

I could provide an enterprise key for testing.

DM me please mamuco@mail.ru

ttessman commented 2 years ago

any updates?

mvrlin commented 2 years ago

any updates?

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

ttessman commented 2 years ago

@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?

mvrlin commented 2 years ago

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

ttessman commented 2 years ago

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

mvrlin commented 2 years ago

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.