According Matt Way answer in this post: Invalidating JSON Web Tokens
The #2 solution about using a Token Blacklist but I have a question that how server know exactly the old token and add it to the blacklist. For example: When I login, I receive the "ABCD" token from server, server does not keep this token in any place. Then I change password (or logout), server should send me a new token like "EFGH" and invalid the old "ABCD" (by adding "ABCD" to blacklist until it expired date) but the issue is how can server know "ABCD" old token to add to the blacklist?