I want to ask if it's a good idea to logout when I'm using JWT. To log in, I send a post request with username and password to get the desired token (saved into localStorage) which will allow me to send further requests to views that requires the token, of course.
But I'm not sure how should I log out the user. I can clear the localStorage, but the token remains available.
So, I want to ask if I should use refresh the token since I can not disable it.