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 #117

Open
lavellotron opened this issue Feb 1, 2019 · 10 comments
Open

support recaptcha v3 #117

lavellotron opened this issue Feb 1, 2019 · 10 comments
Labels
Milestone

Comments

@lavellotron
Copy link

The repo description mentions v2 but isn't this compatible with v3 reCaptcha actually?

@jsardev
Copy link
Owner

jsardev commented Feb 1, 2019

@lavellotron Unfortunately not.

I did a little bit of research to answer your question and found that there are few differences in v2 and v3:

  • v3 has a different render API (it needs a render=SITE_KEY query param in the external script load)
  • v3 accepts a action parameter in the execute function
  • v3 execute function returns a promise
  • v3 does not render anything into the DOM (there's no need to render any element by the component)

I'd like to add support for v3 in reaptcha but I'm out of time right now. I'll keep this issue and notes above for easier implementation later on. Of course, if anyone sees this comment and would like to contribute - feel free to do so 😄

@jsardev jsardev changed the title Support v3 reCAPTCHA v3 support Feb 1, 2019
@jsardev jsardev added the feature label Feb 1, 2019
@jsardev jsardev changed the title reCAPTCHA v3 support support recaptcha v3 May 19, 2019
@jsardev jsardev added this to the 2.0 milestone May 19, 2019
@MrComic
Copy link

MrComic commented Aug 1, 2020

any chance to add the action name feature? that will help us to analyze the verification requests better on v3.

@jsardev
Copy link
Owner

jsardev commented Aug 3, 2020

@MrComic When I'll find time to implement this, I'll try to support every feature from v3.

@jasonwilczak
Copy link

Hi there, curious if v3 support will be coming to this package?

@jsardev
Copy link
Owner

jsardev commented Jun 3, 2021

Hi there, curious if v3 support will be coming to this package?

Yes, but I'm still out of time 🙈 I want to implement this and rewrite everything to TypeScript so I need to find a bigger time slot to do this. Certainly not in the nearest months, but it will be there this year for sure.

@pyon123
Copy link

pyon123 commented Mar 18, 2022

Hi @sarneeh
Thanks for writing this cool repo. Btw, would you like to let me know when this repo can support V3? it seems like the react-google-recaptcha doesn't provide a good api.

@jsardev
Copy link
Owner

jsardev commented Mar 18, 2022

@pyon123 I'll be working on it in the next few weeks

@pyon123
Copy link

pyon123 commented Mar 18, 2022

thank you @sarneeh

@jakerobb
Copy link

jakerobb commented Nov 10, 2022

Hi, is there an update on this? It's been a few weeks. ;)

If you made some progress and have a branch in flight that you could push, my team and I might be able to push this over the finish line for you (or with you!). I see that the TypeScript rewrite is complete!

@jsardev
Copy link
Owner

jsardev commented Nov 13, 2022

@jakerobb I don't have anything yet. No time or mood to work on it to be honest 😄

And yes, TypeScript rewrite is done!

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

No branches or pull requests

6 participants