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

Support reCAPTCHA v3 Actions #56

Closed
o5 opened this issue May 5, 2021 · 2 comments
Closed

Support reCAPTCHA v3 Actions #56

o5 opened this issue May 5, 2021 · 2 comments

Comments

@o5
Copy link

o5 commented May 5, 2021

I would like to use it with actions but it looks like this feature is not supported, right?

<script>
  function onClick(e) {
    e.preventDefault();
    grecaptcha.ready(function() {
      grecaptcha.execute('reCAPTCHA_site_key', {action: 'SPECIFIC-ACTION'}).then(function(token) {
          // Add your logic to submit to your backend server here.
      });
    });
  }
</script>
@f3l1x
Copy link
Member

f3l1x commented Jun 2, 2021

Hi @o5. I must say I don't know what reCAPTCHA v3 actions are. :-) So it is probably unsupported at this moment. Feel free to implement it.

@o5
Copy link
Author

o5 commented Jun 2, 2021

I had to create an own simplified version of this control, without dependency to contributte/di. Unfortunately I cannot open-source them.

@o5 o5 closed this as completed Jun 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants