Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable use for ReCaptcha enterprise #86

Open
serge-wq opened this issue Mar 17, 2021 · 17 comments
Open

Enable use for ReCaptcha enterprise #86

serge-wq opened this issue Mar 17, 2021 · 17 comments

Comments

@serge-wq
Copy link

serge-wq commented Mar 17, 2021

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 serge-wq changed the title Can the ReCaptcha script source URL be made configurable? Can the ReCaptcha script source be made configurable? Mar 17, 2021
@serge-wq serge-wq changed the title Can the ReCaptcha script source be made configurable? Enable use for ReCaptcha enterprise Mar 17, 2021
@vana-dev
Copy link

vana-dev commented Apr 1, 2021

up

@henrygrant
Copy link

Upvote

@urbgimtam
Copy link

Please, this is important

@Torone
Copy link

Torone commented Jul 7, 2021

So?

@carloscdev
Copy link

what is the solution ?
I need help please

@mvrlin
Copy link
Member

mvrlin commented Jul 14, 2021

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

@RobbieTheWagner
Copy link

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

@jamesmills
Copy link

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
Copy link

bfabbri commented Apr 25, 2022

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

@serge-wq
Copy link
Author

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

I could provide an enterprise key for testing.

@mvrlin
Copy link
Member

mvrlin commented Apr 28, 2022

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]

@ttessman
Copy link

any updates?

@mvrlin
Copy link
Member

mvrlin commented May 18, 2022

any updates?

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

@ttessman
Copy link

@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
Copy link
Member

mvrlin commented May 21, 2022

@ttessman
Copy link

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
Copy link
Member

mvrlin commented May 21, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests