Create Token-Based Authentication with Laravel Sanctum for Vue.js Application

Ellis - Jun 8 '20 - - Dev Community

Laravel Sanctum provides a featherweight authentication system. This package provides authentication in two ways, one is "SPA Authentication" and the second is "API Token Authentication". We have already seen SPA Authentication using the Sanctum package. Now In this video, you will learn how to build a token-based authentication system using Vue.js and Laravel Sanctum. We are going to create separate projects for the frontend (in Vue.js), and for the backend (in Laravel), that will interact with one another through a REST API.

Let's dive in!

API Token Authentication using Laravel Sanctum & Vue.js

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .