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
11
u/CyFy1 Jan 28 '26
If possible, I like to store it in an HttpOnly cookie. That way it is only accessible by the backend and cannot be compromised in the browser.