Latest

Monday, July 10, 2017

Laravel Captcha ONLY for Backend

Asked by: zeetit


I am creating a project with only web services in Laravel (5.4.23). For my Login functionality, I need a CAPTCHA package which is independent of frontend. (I already have integrated Passport for OAuth2 Authentication) i.e.

* Generate a random key (say "abc#123" - hidden to end user) from which I generate captcha
* Now I pass the Captcha image and this key as GET call.
* On Login POST call, I get the user input and this key back.
* Now I can check the validity of the CAPTCHA using this key.

This way my API will be independent of any frontend integration

I have been exploring many Laravel CAPTCHA packages but could not find any that is independent of Frontend integration. Please suggest if I have been missing any..

Tried :

https://github.com/developer-tz/laravel-5-simple-captcha
https://packagist.org/packages/buzz/laravel-google-captcha


Source

No comments:

Post a Comment

Adbox