Redis – JWT token is not destroyed after calling destroy method
I am using jwt-redis library to generate and destroy JWT tokens. I need to destroy the JWT token from server side when user logs out so that token is not misused. Below is the code I am using to generate…