JWT should be stored as cookie #13

Open
opened 2026-10-18 16:37:53 +00:00 by jellycake222 · 0 comments
Owner

I currently keep the JWT tokens in local storage, which is fine, but it is somewhat vulnerable to XSS attacks. HttpOnly cookies would be bette, but they will need proper policies, user notices, and all of that jazz

I currently keep the JWT tokens in local storage, which is fine, but it is somewhat vulnerable to XSS attacks. HttpOnly cookies would be bette, but they will need proper policies, user notices, and all of that jazz
Sign in to join this conversation.
No description provided.