|
|
|
|
|
by arpa
3478 days ago
|
|
I'm not too familiar with JWT, but i have some hands-on experience with Macaroons; the simplest way would be to have a custom caveat of validity set in the token, let's say, a validity GUID, which is an id of server-side record of validity (true/false), e.g. in some database table. Once you set that record of validity to false, the token bearing that GUID automatically becomes invalid. Otherwise, without server-side changes (such as change of secret key used for signature generation), it is impossible. |
|