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.
JSON Web Token (JWT) Authentication with Node.js
32m 33s
English
Paid
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.
About the Author: egghead
The egghead.io project presents a huge selection of courses and screencasts for developers of all levels and professions.
Watch Online 9 lessons
0:00
/ #1: Course Overview: JSON Web Token (JWT) Authentication with Node.js
All Course Lessons (9)
| # | Lesson Title | Duration | Access |
|---|---|---|---|
| 1 | Course Overview: JSON Web Token (JWT) Authentication with Node.js Demo | 01:56 | |
| 2 | Setup a Web Server in Node.js using Express | 02:23 | |
| 3 | Set the Server Port in Express Using Environment Variables | 00:53 | |
| 4 | Add a POST Route To Express And Parse the Body | 01:53 | |
| 5 | Provide Users With A JSON Web Token | 04:35 | |
| 6 | Allow CORS in Node.js and Express | 00:56 | |
| 7 | Authenticate Users With JWT for Access to Protected Resources | 03:00 | |
| 8 | Connect a Front-End to a Secure API using JWTs | 07:17 | |
| 9 | Authenticate Users in a Single Page Application with Auth0 | 09:40 |
Unlock unlimited learning
Get instant access to all 8 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.
Learn more about subscription