JWT Authentication Tutorial - Node.js
Web Dev Simplified Web Dev Simplified
1.62M subscribers
1,051,293 views
22K

 Published On Sep 21, 2019

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:    • Build Node.js User Authentication - P...  
JWT Explained Video:    • What Is JWT and Why Should You Use JWT  
GitHub Code: https://github.com/WebDevSimplified/J...


🧠 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:   / webdevsimplified  
Twitter:   / devsimplified  
Discord:   / discord  
GitHub: https://github.com/WebDevSimplified
CodePen: https://codepen.io/WebDevSimplified


#JWT #WDS #Authentication

show more

Share/Embed