Token-Based Authentication

Lessons

1. Intro to Authentication

3:26

2. Project Structure

6:52

3. User Registration

9:24

4. User Login

11:34

5. User Logout

8:09

6. Handling Errors

6:29

7. Automatic Login

5:49

User Login

Now that we’ve learned how to register users into our app, we can move forward and implement the ability for already-registered users to log into the accounts they’ve created.

In this lesson, we’ll create a new LoginUser.vue component, add some routing to our app to smooth out the user experience, and organize some of our Vuex code.


Creating our Login Component

We a