node-js-jwt-auth
node-js-jwt-auth copied to clipboard
Check if JWT token has expired
Excellent tutorial but there is no check to see if the JWT token has expired. The user remains logged in but is not authorized to do anything after the JWT token has expired. The JWT token should be checked on each browser refresh to see if it has expired and log the user out if it has.