Securing JWTs using Redis | JWT NodeJS



Securing JWTs using Redis | JWT NodeJS

Securing JWTs using Redis | JWT NodeJS

In this video, we’ll see how JWTs can be stored on a server instead of the browser. For that, we’ll be using Redis and NodeJS.

Github Link: https://github.com/manosriram-youtube/jwt-redis

Don’t forget to Subscribe!

TimeStamps:
00:00 – Intro
1:38 – Setting up and installing packages
2:20 – Creating an Express server
3:09 – Initialize a Redis client and Bodyparser middleware
4:03 – Creating a login route
6:12 – Setting up Redis variables using redis-cli
7:05 – Incrementing counter and creating a token
10:15 – Verifying cookie and Redis variables
11:50 – Creating a protected route
15:04 – Verifying Token using counter
15:58 – Testing on Browser and Outro

Share your ideas for my next video: https://request.manosriram.com
Find pair-programming partners: https://www.mydevfriend.com
Blog Article: https://blog.manosriram.com/securing-jwts-using-redis-and-nodejs

FOLLOW ME HERE:
Website: https://manosriram.com
Github: https://github.com/manosriram
LinkedIn: https://www.linkedin.com/in/manosriram
My Blog: https://blog.manosriram.com
Twitter: https://twitter.com/_manosriram

📻 Join the Discord Server: https://discord.gg/TaE9CTAmV9

Comments are closed.