Re:JSON Web Tokens vs. Sessions
by tptacek on Saturday June 18, 2016 @01:56PM
(#11929788)
"A Redis cache with revoked token IDs". Default-allow revocation. What's not to love about JWT?
[ Parent
| on HN ]
Re:JSON Web Tokens vs. Sessions
by jessaustin on Saturday June 18, 2016 @04:24PM
(#11930451)
I don't see how else this could work. If we require re-auth e.g. every 10 minutes, then make 10 minutes the token lifetime. If there is one source of "authentication truth" that must be consulted every time, then we don't want tokens anyway, because we have to wait on the truth for every single request.