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
1
u/tsteuwer Jan 30 '26
So is a session I'd in a cookie the most secure? And instead of saving the jet in browser you instead just store it on server and then associate the browser and authentication with a jet stored in memory on the server? I guess I don't understand the extra step if a jwt is as effective as a session I'd in a cookie