https://github.com/kareemkibue/angular-rest-recaptcha
An Angular Recaptcha implementation with local REST validation
https://github.com/kareemkibue/angular-rest-recaptcha
Last synced: about 2 months ago
JSON representation
An Angular Recaptcha implementation with local REST validation
- Host: GitHub
- URL: https://github.com/kareemkibue/angular-rest-recaptcha
- Owner: kareemkibue
- Created: 2014-09-15T23:46:18.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-12-20T16:08:43.000Z (over 10 years ago)
- Last Synced: 2025-01-22T20:51:35.224Z (3 months ago)
- Language: PHP
- Size: 609 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
angular-rest-recaptcha
======================An Angular Recaptcha implementation with local REST validation (Verifying without Plugins)
Credits to https://github.com/chriskacerguis for the CI Rest Implementation, and https://github.com/mllrsohn/ for the Angular recaptcha library. Client-side Angular validation is implemented to demonstrate an actual contact form.
Upside of using this implementation:
* Control, in addition to keeping the Private Key secret (unlike Google's implementation, where both keys are sent)Downside(s):
* Redirecting (some) traffic back to your serverConfiguration
+ Get Recaptcha API keys here: https://www.google.com/recaptcha/admin#createsite
+ Set the Public Key on the client-side "js/app.js"
+ Set both the Private and Public Key on the server-side "rest/application/controllers/api/validate.php"
+ Remote IP is not necessary here (set to 0)
+ That's it!*Recaptcha server-side lib file already included and referenced in the CI controller
rest\application\librariesFor Recaptcha UI customization, https://github.com/mllrsohn/angular-re-captcha
Demo: http://qibue.com/recaptcha