JWT Deny List Demo
- Copy
sample.env
to.env
. - Run
npm install
- Run
npm start
- Hit
/createUser
endpoint to generate JWT - Visit
/
to test authentication, with--header 'Authorization: Bearer <JWT>
- Visit
/logout
to add the JWT to the deny list - Re-test by visiting
/