|
|
|
|
|
by hunterb123
1357 days ago
|
|
The redis cache with invalidated tokens will be much smaller than storing all sessions. And you can expire the invalidated keys faster (set the invalidated key expiration to the expiration of the JWT) Not many people revoke sessions, but a lot of people create sessions. Much more efficient to only store and check revocations. The rest can be stateless. |
|