6 ms·
There 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
by Alex3917 8y ago
There 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.