This is a module to quickly add the middleware necessary to decode and verify the Auth0 JSON Web Token.
- Install the module by running
yarn
ornpm install
.
- Verify token: decodes and verifies the signature of the JWT token. Expects the id token and an object with the required configurations. Returns the decoded token.