Enable use for ReCaptcha enterprise
serge-wq opened this issue · 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.
up
Upvote
Please, this is important
So?
what is the solution ?
I need help please
Hey! Sorry for late response. I need an Enterprise key to test.
Perhaps setup a branch with these changes so we can test it?
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
Hi all!
Any updates here?
Does anyone have an alternative solution for using Recaptcha Enterprise with Nuxt.js?
Hey! Sorry for late response. I need an Enterprise key to test.
I could provide an enterprise key for testing.
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
any updates?
any updates?
I'm waiting for the key and get to work right away
@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?
@serge-wq released the 1.1.0 https://github.com/nuxt-community/recaptcha-module/releases/tag/v1.1.0 🎉
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
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.