Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn JWT authentication and authorization in this comprehensive tutorial for Node.js and React. Discover the advantages of using JWT, compare it to session cookies, and implement JWT authentication in a Node.js backend. Explore how to verify JWTs, handle authorization, and implement refresh tokens. Master JWT logout and token invalidation techniques. Dive into React JWT authentication, including sending JWTs to the server and implementing automatic token refresh. Gain hands-on experience through practical examples and source code, equipping you with the skills to build secure, scalable applications using JWT.
Syllabus
Introduction
Why you should use JWT
JWT vs Session Cookie
Node.js JWT Authentication
How to verify JWT?
Node.js JWT Authorization
Node.js JWT Refresh Token
JWT Logout and Invalidate the Token
React JWT Authentication
React How to Send JWT to Server
React JWT Refresh Token
How to Refresh Token Automatically
Outro
Taught by
Lama Dev