My Studio

This is my studio page where I share all of my projects , experiments , learnings , blogs/articles , and also I share daily or frequent logs of my learnings or what currently I am working on.

JWT Storage in Browser

#auth#jwt#security

Options

  • LocalStorage (not secure)
  • SessionStorage (better, cleared on close)
  • HttpOnly Cookies (most secure)

Recommendation

Use HttpOnly cookies whenever possible.