-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Use of localStorage for JWT tokens insecure? #189
Copy link
Copy link
Closed
Description
Reviewing the frontend code, I saw that it appears the Vuex store saves the JWT tokens in localStorage, against common security recommendations. Although this is just an example project, it's never a good idea to promote bad security practices that find their way into production applications, especially when teaching new developers the "right" way to build Single Page Applications. Would it be possible instead to re-architect this application to use e.g. HttpOnly cookies?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels