How to make token of jwt not expire code example
Example: how to sign a jwt token in js that doesn't expire
var token = jwt.sign({email:'[email protected]',role:'User'}, "Secret", {});
var token = jwt.sign({email:'[email protected]',role:'User'}, "Secret", {});