JWT Authentication Tutorial with Node.js 🔐
Learn how to implement JWT authentication in Node.js to secure your applications and microservices effectively.

Web Dev Simplified
1.2M views • Sep 21, 2019

About this video
JSON web tokens are one of the more popular ways to secure applications, especially in micro-services, but JWT is much more complex than a simple session based user authentication. In this video I will be breaking down exactly how to set up authentication with JWT and how to ensure the authentication is secure. I will also be showing how to setup refresh tokens with JWT so that your application is even more resilient and secure. Lastly, I will show how to invalidate refresh tokens which is the ultimate last step in securing an application.
📚 Materials/References:
User Authentication Video: https://youtu.be/Ud5xKCYQTjM
JWT Explained Video: https://youtu.be/7Q17ubqLfaM
GitHub Code: https://github.com/WebDevSimplified/JWT-Authentication
🧠 Concepts Covered:
- Creating Node.js authentication middleware
- Using refresh tokens with JWT
- Authenticating users with JWT
- Invalidating refresh tokens to log users out
- How to use JWT securely
🌎 Find Me Here:
My Courses: https://courses.webdevsimplified.com
Patreon: https://www.patreon.com/WebDevSimplified
Twitter: https://twitter.com/DevSimplified
Discord: https://discord.gg/7StTjnR
GitHub: https://github.com/WebDevSimplified
CodePen: https://codepen.io/WebDevSimplified
#JWT #WDS #Authentication
📚 Materials/References:
User Authentication Video: https://youtu.be/Ud5xKCYQTjM
JWT Explained Video: https://youtu.be/7Q17ubqLfaM
GitHub Code: https://github.com/WebDevSimplified/JWT-Authentication
🧠 Concepts Covered:
- Creating Node.js authentication middleware
- Using refresh tokens with JWT
- Authenticating users with JWT
- Invalidating refresh tokens to log users out
- How to use JWT securely
🌎 Find Me Here:
My Courses: https://courses.webdevsimplified.com
Patreon: https://www.patreon.com/WebDevSimplified
Twitter: https://twitter.com/DevSimplified
Discord: https://discord.gg/7StTjnR
GitHub: https://github.com/WebDevSimplified
CodePen: https://codepen.io/WebDevSimplified
#JWT #WDS #Authentication
Tags and Topics
Browse our collection to discover more content in these categories.
Video Information
Views
1.2M
Likes
25.3K
Duration
27:36
Published
Sep 21, 2019
User Reviews
4.8
(239) Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.
No specific trending topics match this video yet.
Explore All Trends