Laravel vue: Laravel Passport Scope Based Auth, VueJS middlewares to protect routes [Part 11]

preview_player
Показать описание
In this tutorials we will apply VueJS middlewares on each route to be available for the specific user only, also will create a 404 page and its good way of redirection.

Рекомендации по теме
Комментарии
Автор

I am about to watch the last video of the series and I loved each and every video, also I am so poor that can't give more than one like per video :(

zeeshanahmad
Автор

I love this tutorial sooo much! It's so useful information and I haven't seen something similar on any other channel. Hope you guys find the time to create more videos with features for this playlist.

panix
Автор

ONE THING: there should be a user_id column in the categories Table. Then in CategoryController.php something like:
public function index()
{
$user = Auth::user();
$categories = Category::orderBy('created_at', 'desc')->paginate(5)->where('user_id', $user->id);

return response()->json($categories, 200);
}
Otherwise when a new User registers, he'll be able to see other Users' Categories.

ryansacks
Автор

Love your work here. It is super great. I like to ask if can do the tutorial to show the product created by the specific user only. It will be real nice.

เอกลักษณ์พงษ์ศรีหดุลชัย
Автор

This is a very nice Tutorial which I ever seen!
Thanks

iskandarkudratov
Автор

Thank you for this tutorial sir. pretty awesome ♥

ronanotaza
Автор

Awesome .. i can't wait for the next videos from you :D

enricoferaldokalengkongang
Автор

Hi Good Day sr i have a question
what should i do after the token expires.. how to remove the local storage?

ellijoshuarey
Автор

hi, just finished your last video of this course and i am wanting more. when do you have time to make more :-) <3 <3

MsSplashIt
Автор

Please upload the codes in Github. Thanks.

zhasan