extract payload of expired jwt token in js

Solutions on MaxInterview for extract payload of expired jwt token in js by the best coders in the world

showing results for - "extract payload of expired jwt token in js"
Corra
27 Feb 2019
1if(err.name === 'TokenExpiredError') {
2    const payload = jwt.verify(token, SECRET, {ignoreExpiration: true} );
3    // your code
4}
5