how to add recaptcha in filament login form?
I don't know where to put the script from google recaptcha in login form of filament, is there any way to integrate it there?
Solution:Jump to solution
Here's how I did it for future newbie like me:
Install first the dependent package:
...
GitHub
GitHub - anhskohbo/no-captcha: No CAPTCHA reCAPTCHA For Laravel.
No CAPTCHA reCAPTCHA For Laravel. Contribute to anhskohbo/no-captcha development by creating an account on GitHub.
6 Replies
this package might help you
https://filamentphp.com/plugins/abanoub-nassem-grecaptcha-field
Filament
Google reCaptcha V2 field by Abanoub Nassem - Filament
Provides a Google reCaptcha V2 field for the Filament Forms(V2-V3), works in Admin-Panel and Forntend-Forms.
can't understand the entire documentation
Ok , I figured it out. thanks to my brain.
amen to your brain π
good luck with your work
Solution
Here's how I did it for future newbie like me:
Install first the dependent package:
Add these two to your .env and paste your google site and secret key there
Install this for filament:
Then publish it (required):
add this two code, in login.blade.php inside of the form (if you're using the built-in filament login)
Then modify it and follow other instruction after adding it.
https://github.com/anhskohbo/no-captcha
GitHub
GitHub - anhskohbo/no-captcha: No CAPTCHA reCAPTCHA For Laravel.
No CAPTCHA reCAPTCHA For Laravel. Contribute to anhskohbo/no-captcha development by creating an account on GitHub.
thank you and please tag this issue with "Solved" @itsmejyv
Additionally information: https://www.youtube.com/watch?v=v8R0FRkFOmg
Laravel Package Tutorial
YouTube
How to implement Google Captcha In Laravel
Package: https://github.com/anhskohbo/no-captcha
Source Code https://github.com/shailesh-ladumor/lpt-pkg-demo/tree/re_captcha
reCAPTCHA is a CAPTCHA system that enables web hosts to distinguish between human and automated access to websites. The original version asked users to read text or match images.
ReCaptcha is a free service that prote...