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 Registration

In our previous lesson, we toured our example app’s starting code and saw that any user off the internet was able to access our dashboard, which displays a list of events from our mock database. We only want users who have an account with our app to be able to access those events.

If you download the starting code in the Lesson Resources of this page, you’ll see that