News for hackers. Stuff that matters.
Re:JSON Web Tokens vs. Sessions by inopinatus on Saturday June 18, 2016 @02:01PM (#11929813)
You wouldn't use a boolean flag. I suggest setting a validity timestamp for the user, and reject any token that was issued-at any earlier time.

(This isn't a perfect scheme since a compromised issuer could have been induced to send post-dated tokens. If your need for global logout was to invalidate tokens issued by a compromised issuer, you'll need to blacklist keys as well)

There are no comments on this comment yet.