Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

egghead.io

JSON Web Token (JWT) Authentication with Node.js and Auth0

via egghead.io

Overview

JSON Web Token (JWT) is a low overhead option for authentication that is easy to implement and scales with your application. There is no need to store session data as everything you need is stored in an encoded string sent in the JWT, significantly reducing database overhead for your servers.
In this course, we will build a simple authentication server that will act as a token issuer, and we will use those tokens to access resources on an API. Starting from scratch, you will learn how easy token based authentication can be and will understand how to use them on your APIs as well as on the front end of your web applications.

Syllabus

  • Course Overview: JSON Web Token (JWT) Authentication with Node.js
  • Setup a Web Server in Node.js using Express
  • Set the Server Port in Express Using Environment Variables
  • Add a POST Route To Express And Parse the Body
  • Provide Users With A JSON Web Token
  • Allow CORS in Node.js and Express
  • Authenticate Users With JWT for Access to Protected Resources
  • Connect a Front-End to a Secure API using JWTs
  • Authenticate Users in a Single Page Application with Auth0

Taught by

Joel Lord

Reviews

Start your review of JSON Web Token (JWT) Authentication with Node.js and Auth0

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.