|
|
|
|
|
by dandelany
3661 days ago
|
|
Sure, but that's expiration, not invalidation, ie. we're talking about the ability to declare "this particular token is invalid now". Incidentally, this limitation isn't too surprising to me... Is there any possible token-based authentication scheme that is both stateless (ie. no round trip to the database on every call) AND invalidate-able? Seems like any form of invalidation would require storing the "is valid" state somewhere else... |
|
I suspect this is provably impossible.
There are all sorts of things you can do at the protocol/platform level if you have a shared secret, but with only the constraints of an open authentication scheme you lack the tools to do this.