---
title: "Discussion on \"Securing JWTs using Redis and NodeJS\" | Hashnode"
description: "Discussion on \"Securing JWTs using Redis and NodeJS\". We all know JWTs are vulnerable to attacks, there are many alternatives to it. But, we can improve our security mechanism by NOT storing the tokens in the browser.\nTechnique\nWe can use a counter which is mapped to a specific token. When creating a co..."
url: "https://hashnode.com/posts/securing-jwts-using-redis-and-nodejs/604a940ead1cac7d577dfb34"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Securing JWTs using Redis and NodeJS](https://manosriram.hashnode.dev/securing-jwts-using-redis-and-nodejs?utm_source=hashnode&utm_medium=feed)

We all know JWTs are vulnerable to attacks, there are many alternatives to it. But, we can improve our security mechanism by NOT storing the tokens in the browser. Technique We can use a counter which is mapped to a specific token. When creating a co...

Mar 11, 2021 · 4 min read · manosriram.hashnode.dev  
Updated Mar 14, 2021  
Read the article

-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#jwt](https://hashnode.com/tag/jwt)
-   [#security](https://hashnode.com/tag/security)
-   [#redis](https://hashnode.com/tag/redis)
-   [#json](https://hashnode.com/tag/json)

## Written by

[Mano Sriram](https://hashnode.com/@manosriram)

@manosriram · Visakhapatnam, India

  
[View profile](https://hashnode.com/@manosriram)

Software Engineer | Content Creator

Hi! I am Mano Sriram, a Full-Stack developer focusing primarily on building scalable and meaningful products 📖 . I do Blog, make YouTube videos too 📹 . I mostly work on Backend (Express) and am trying to become better as a developer.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
