CodeKelemy
CodeKelemy
Hi, all about this are not a problem with password hashing or guard or also token. It's about EXCEPTION ERROR HANDLER : You must put this in your laravel hander.php...
// exception for UnauthorizedHttpException if ($exception instanceof UnauthorizedHttpException) { return response()->json([ "error" => "not authorized" ], 401); } // exception for TokenBlacklistedException if ($exception instanceof TokenBlacklistedException) { return response()->json([ "error"...