JSON Web Token (JWT) Authentication with Node.js and Auth0
Offered By: egghead.io
Course Description
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.
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
Related Courses
MongoDB for Node.js DevelopersMongoDB University Introduction to Office 365 Development and APIs
Microsoft via edX Server-side Development with NodeJS
The Hong Kong University of Science and Technology via Coursera Front-End Web UI Frameworks and Tools
The Hong Kong University of Science and Technology via Coursera Introduction to MongoDB using the MEAN Stack
MongoDB via edX