Open bhavin00 opened 6 years ago
I tried many ways to expire token when logout but didn't work how to resolve
app.get('/logout', function(req, res){ req.logout(); });
Hi ! That's not how JWT Tokens works. I recommend you read the top answer of this https://stackoverflow.com/questions/31919067/how-can-i-revoke-a-jwt-token
I tried many ways to expire token when logout but didn't work how to resolve
app.get('/logout', function(req, res){ req.logout(); });