How to Verify a JWT in Node.js with jose jwtVerify
jwtVerify from the jose library checks a JSON Web Token in Node.js: its signature, its algorithm and its time claims. When everything holds, it returns the payload; when anything fails, it throws an error that says what.
