Answers for "extract payload of expired jwt token in js"

1

extract payload of expired jwt token in js

if(err.name === 'TokenExpiredError') {
    const payload = jwt.verify(token, SECRET, {ignoreExpiration: true} );
    // your code
}
Posted by: Guest on November-10-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language