---
title: "Discussion on \"Stop Storing JWTs in localStorage: A Security Guide for Web Developers\" | Hashnode"
description: "Discussion on \"Stop Storing JWTs in localStorage: A Security Guide for Web Developers\". When I first learned about JSON Web Tokens (JWTs), I thought I had authentication figured out. The tutorial showed me this simple line:\nlocalStorage.setItem('token', jwt);\n\nIf you’re currently storing"
url: "https://hashnode.com/posts/stop-storing-jwts-in-localstorage-a-security-guide-for-web-developers/6a060845baf09db7a622edac"
---

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

Discussion

# [Stop Storing JWTs in localStorage: A Security Guide for Web Developers](https://dammyton.hashnode.dev/stop-storing-jwts-in-localstorage-a-security-guide-for-web-developers?utm_source=hashnode&utm_medium=feed)

When I first learned about JSON Web Tokens (JWTs), I thought I had authentication figured out. The tutorial showed me this simple line: localStorage.setItem('token', jwt); If you’re currently storing

May 14 · 4 min read · dammyton.hashnode.dev  
Read the article

## Written by

[Damilola Owolabi](https://hashnode.com/@dammyton)

@dammyton

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

Software developer

iCode || Believer || iWrite

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
