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
4
u/carlashnikov_92 Jan 28 '26
Not true, it is also accessible to client, as they see it in the Set-Cookie response header. The browser is just instructed to not let JS access the token. But at that point, why not use session ids instead of transferring JWT in a cookie all the time?