Closed constantinosergiou closed 7 years ago
i am trying to increase the getTokenExpirationDate but it does not change
var d = new Date(86400000); // The 0 here is the key, which sets the date to the epoch d.setUTCSeconds(decoded.exp);
Why do you want to do that? Remember that expiration date is a reserved claims from token's payload.
i am trying to increase the getTokenExpirationDate but it does not change
var d = new Date(86400000); // The 0 here is the key, which sets the date to the epoch d.setUTCSeconds(decoded.exp);