re: How to log out when using JWT VIEW POST


Nice article, but I would suggest you use standard HTTP session if you need this functionality.
Because JWT should be stateless.


You are right! It's just a lot of people decide to use JWT and then start wondering how to handle logouts :)
I also suggest thinking on what implementation suits the app best and choose JWT only when it's definitely the best matching solution.

code of conduct - report abuse