jwt token expiration time nodejs 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
});