Laravel Vue SPA Issue Tracker part 11: Gates and axios interceptors

preview_player
Показать описание
Today on our laravel vue spa issue tracker part 11 we are going to implement a service provider to register our gates depending on the permissions that we have on our database.
Also we are creating a seeder for our roles (admin and developer).
After that we are going to frontend and implement axios interceptors where we are sending the bearer token so we can fetch secure routes!

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

I know that on intro I said it's going to be short but I forgot to end it fast, lol! I get exited every time I record!!

ProgrammingwithPeter
Автор

Hello Peter
When will you upload the next video ?
Thank you.

faruksaldr
Автор

Did Peter commit today's work?




Yes.

kmata
Автор

Don’t store the token in the local storage. Because the JavaScript have access... The best practice is storing the token in the cookies with http only flag for more security.

Herton
Автор

localstorage don't work with object to store object in localstorage u have to convert in string

kamleshpaul