aamodtgroup / frontity-contact-form-7

Contact Form 7 extension for Frontity.
https://frontity-cf7.aamodtgroup.com/
GNU General Public License v2.0
10 stars 4 forks source link

Feature Request: reCaptcha integration #17

Closed davemoz closed 2 years ago

davemoz commented 2 years ago

I have the reCaptcha v3 integration turned on in my WP installation with CF7. When I installed this package to use with my Frontity front-end, I noticed everything worked great except the reCaptcha was excluded/missing. Are there any plans to add support for this integration? I see there is Akismet integration, though it would be helpful to be able to continue using reCaptcha for spam-blocking. Thanks!

kasperaamodt commented 2 years ago

I will look into this

garridinsi commented 2 years ago

Hi! I report that I've also tried with hCaptcha instead of reCaptcha, and is not appearing. I write this to take that situation into account. Thanks!

kasperaamodt commented 2 years ago

Hello @davemoz & @garridinsi,

Frontity does not execute the ReCaptcha scripts from WP, because of the reasons in their documentation. So the ReCaptcha script never reaches the Frontity frontend. There isn't really anything I can do about this, as it would require changes either in the CF7 plugin, or in the Html2React package from Frontity.

An alternative would be to use a npm package to enable ReCaptcha on your frontend.