3 ms·
Exactly, the moment you add statefulness you've basically reinvented session authentication.
by enraged_camel 8y ago
Exactly, the moment you add statefulness you've basically reinvented session authentication.
- Alex3917 8y agoThere are a lot of problems with storing cookies when the front end and back end are hosted on different domains though. That is the main reason why people use JWTs with SPA apps, because otherwise it wouldn't really be possible to serve the front end from a CDN. Most people using JWTs aren't using them because they're stateless, but rather because it's the only way to solve the problem.