Re:JSON Web Tokens vs. Sessions
by jcoffland on Saturday June 18, 2016 @05:11PM
(#11930609)
Yes, but this is still a deadend.
[ Parent
| on HN ]
How so?
It's effectively a micro-optimization that will have no real effect, but you can do a simple "exists" query when searching the revocation list, and the TTL keeps the collection small.
Not advocating for JWT as it's a silly mess to do everything correctly, but it is possible.
Searching a revocation list misses the point of RESTful authentication.
There is no such thing as a RESTful authentication. REST's design hinges on URIs being public.