jwt with no expiration 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", {});