3 ms·
After toying with JWTs for sometime I went back to sessions myself. The best use case I could think of for JWTs is where you need to relay claims between two di
by jgalentine007 8y ago
After toying with JWTs for sometime I went back to sessions myself. The best use case I could think of for JWTs is where you need to relay claims between two disjoint systems. Or have extreme scale and load balancing could become an issue.
Beyond the trivial JWT implementations, trying to figure out how to persist JWTs (stay logged in) and revoke access immediately got way more complicated than it needed to be when a lot frameworks already have sessions implemented and secured properly for a good while now.