how to sett json web token expiration date code example
Example: how to set expire time of jwt token in node js
var token = jwt.sign({email_id:'[email protected]'}, "Stack", {
expiresIn: '24h' // expires in 24 hours
});