Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I still feel like the need for revocation kills the simplicity of JWT and thus the reason for its existence.

I'm of a more gradual opinion regarding this - say you operate a movie streaming service and control access to movies via JWT. It's not a problem if an attacker has access for two more minutes than intended.

If you are talking to a single client, I think checking the remote IP address and encoding it in the token might work to see if the token is not stolen, but don't quote me on that.



It's a complicated problem. I don't see why it should have a simple solution.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: