DEV Community

Discussion on: Session Management - Fundamentals

Collapse
 
maksympozhydaiev profile image
Maksym Pozhydaiev • Edited

Awesome article, thanks!
But there is one more way to revoke JWT. You can store revoked JWT (any of the types described in the article ) and check if the JWT is still valid. It obviously requires additional step and slow down performance, but it is alternative to changing secret.

Collapse
 
abh1navv profile image
Abhinav Pandey

Yes...it can be considered. I have mentioned this in the next article. Not great for performance but if you're storing in Redis, it's not the worst option.