I'd recommend you watching https://laracasts.com/series/whats-new-in-laravel-7/episodes/6
Jun 14, 2020
4
Level 8
Laravel Sanctum SPA-How to add Vue Router Guard
Hi everyone, how can I add an authentication guard to my vue router using Laravel Sanctum SPA? I know that for API token, simply returning the token and assigning the token to vuex state will enable access to guarded routes (like JWT), but how I do this on SPA Authentication?
Level 51
Please or to participate in this conversation.