Multi-User API Authentication Using Laravel JWTJino AntonyBlockedUnblockFollowFollowingJan 15RESTful API development using Laravel is quite easy. Laravel provides built-in support for API…
Continue Reading39;driver'
Build authentication into your Laravel API with JSON Web Tokens (JWT)
BarryvdhCorsHandleCors::class,];Tests for JWT AuthenticationWoohoo so it should all be working, but let’s write some tests to prove it.<?phpnamespace TestsFeature;use AppUser;use…
Continue ReadingHow to setup multiple authentication in Laravel 5.6
* * @param IlluminateHttpRequest $request * @param IlluminateAuthAuthenticationException $exception * @return IlluminateHttpResponse */ protected function unauthenticated($request, AuthenticationException $exception) { if…
Continue Reading