| ▲ | hparadiz 6 hours ago | |||||||
You should not be using them for user contexts at all. The cookie should be the session token and the sessions should be stored on the server side where you can simply delete them and the user's login becomes invalid. Using JWTs for this use case is just plain wrong. | ||||||||
| ▲ | tracker1 4 hours ago | parent [-] | |||||||
I disagree with you and the article on this... I thought that was pretty clear. You can use a revocation list with JWT if necessary, and if your JWTs never last more than 15m you'll be fine.. and if your security window is tighter than that, you probably have bigger issues to deal with. | ||||||||
| ||||||||