1 min readMay 7, 2019
Unfortunately token can not be expired manually (but there are ways to force expire, which is not recommended). For logout one common way is to save logout time in database and check against the token sign time at time of auth
Unfortunately token can not be expired manually (but there are ways to force expire, which is not recommended). For logout one common way is to save logout time in database and check against the token sign time at time of auth