Skip to content

Context

Course: Authentication - chapter 1

Code - https://github.com/100xdevs-cohort-3/week-6-auth-app

Today we want to understand the most basic way to do authentication in a Node.js app.

The process of letting users sign in / sign out of your website. Making sure your routes are protected and users can only get back their own data and not the data from a different user

  1. Auth basics
  2. JWT (JSON Web tokens)
  3. Authorization header
  4. Creating your own auth middleware
  5. localstorage