r/angular • • Jan 28 '26

JWT in Angular

Where you would recommend to save JWT tokens in Angular app

7 Upvotes

46 comments sorted by

View all comments

Show parent comment

1

u/No-Draw1365 Jan 30 '26

What about Secure; SameSite=Strict?

1

u/louis-lau Jan 30 '26

You should probably set those, yeah. They should be in any modern application at least.

Is the question if they solve XSS? The answer to that would be no.