News for hackers. Stuff that matters.
Re:Single Page Application Is Not a Silver Bullet by navd on Sunday February 04, 2018 @02:05PM (#16304226)
Like anything else it depends. JWTs are still great. Just don’t treat it like a classical session and dump important information in it.

You could also use session like you always have if the SPA is being served by the same server.

Re:Single Page Application Is Not a Silver Bullet by snuxoll on Sunday February 04, 2018 @09:48PM (#16306284)
JWT is at the heart of OpenID connect, I agree they’re still perfectly reasonable.

The big issue I have with JWT is they are hard to invalidate for security reasons, but if you lower the validity and refresh the token more often you can mitigate (not eliminate) the risk.