Nuxt Authentication

Lessons

1. Introduction

3:57

2. The Authentication Flow

5:13

3. Server-Side Routes

15:06

4. Client-Side Pages

10:02

5. Handling Invalid Session

8:03

6. CSRF

11:29

7. Stateful vs Stateless

Notify me when new lessons are available.

Handling Invalid Session

Typically, the user’s browser should not have an invalid session, which is a session cookie that is no longer valid because the session has been removed from the database. We usually clear up the session cookie when the user clicks the logout link, but there are instances where an invalid session might still persist.

For instance, a user with an exist