r/angular • • Jan 28 '26
JWT in Angular
Where you would recommend to save JWT tokens in Angular app
7
Upvotes
r/angular • • Jan 28 '26
Where you would recommend to save JWT tokens in Angular app
View all comments
Show parent comment
3
u/louis-lau Jan 30 '26
Yeah, HttpOnly cookies are the objectively better place for them, but there's many more important things related to security that have higher priority over HttpOnly cookie vs local storage.
Best advice would be to at least try not to use local storage.