CodeIgniter Forums
Invisible Recaptcha - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: External Resources (https://forum.codeigniter.com/forumdisplay.php?fid=7)
+--- Forum: Addins (https://forum.codeigniter.com/forumdisplay.php?fid=13)
+--- Thread: Invisible Recaptcha (/showthread.php?tid=72836)



Invisible Recaptcha - Tampa - 02-17-2019

I can't seem to find a proper implementation of invisible recaptcha anywhere, all libraries I tried just fail to verify switching to invisible. I noticed that in normal operation the recaptcha asks me to verify using various images, I suspect this is not properly handled in any of the libraries I tried. Is there a working library for v2 invisible recaptcha anywhere that handles this properly or how do I add handling re-verification to it?


RE: Invisible Recaptcha - jreklund - 02-17-2019

Personally I would use the new V3 instead, here are a tutorial for it:
https://stevencotterill.com/articles/adding-google-recaptcha-v3-to-a-php-form

Or use their library:
https://github.com/google/recaptcha


RE: Invisible Recaptcha - Tampa - 02-18-2019

I tried integrating that library into codeigniter, but it would just give me back captcha failures all the time. I put the captcha validation in the controller, should that be directly in the view instead?


RE: Invisible Recaptcha - jreklund - 02-18-2019

You will need to implement two parts, one in view:
https://github.com/google/recaptcha/blob/master/examples/recaptcha-v3-request-scores.php

And one in controller:
https://github.com/google/recaptcha/blob/master/examples/recaptcha-v3-verify.php


RE: Invisible Recaptcha - michaelh99 - 06-14-2019

(02-18-2019, 08:00 AM)Tampa Wrote: I tried integrating that library into codeigniter, but it would just give me back captcha failures all the time. I put the captcha validation in the controller, should that be directly in the view instead?

I guess you got it working?


RE: Invisible Recaptcha - website - 06-15-2019

I prefer Honeypot, invisible, empty field.