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
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.io
egghead.io is a US-based subscription video platform focused on short, focused screencasts on JavaScript ecosystem topics. Founded in 2012 by John Lindquist (a Google Developer Expert) and run by Joel Hooks, egghead pioneered the short-screencast format that most modern developer-education platforms now use — courses are typically broken into 2-5 minute lessons that each cover one specific concept or API.
The instructor roster includes many of the most cited names in the JavaScript ecosystem — Kent C. Dodds (whose Testing JavaScript launched on egghead before EpicWeb.dev), Andrew Del Prete, Hannah Davis, Lukas Ruebbelke, Tomasz Łakomy, Andy Van Slaars, and many others. Course material covers React, Next.js, TypeScript, Node.js, GraphQL, Vue, the testing tracks, RxJS / observables, and a long list of smaller libraries and tools.
The CourseFlix listing under this source carries over 20 egghead courses spanning that range. Material is paid; egghead itself runs on a monthly / annual subscription on the original platform. The bite-sized format suits developers learning incrementally during work hours rather than committing to multi-hour video sessions.
Watch Online 9 lessons
| # | 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 |
Get instant access to all 8 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.
Learn more about subscriptionRelated courses
-
Updated 2y agoZero to Full Stack Hero
By: PAPA React (Sonny Sangha)PAPA React presents.. Zero to Full Stack Hero. It's NOT just another COURSE. It's the world's BEST COMMUNITY.101h 29m5/5 -
Updated 2y agoKotlin Coroutines for Android Masterclass
By: UdemyThis course is your complete guide into the world of Kotlin Coroutines in Android.11h 57m -
Updated 2y agoReact, Angular, Node In-Depth Guide: Beginner to Pro
By: UdemyIf you are planning to start your career as a developer or you just want to improve your programming skills, then this course is right for you. Get all you need80h 1m