Better HN
topnewbestaskshowjobs
Log inSign up

natelaporte

8 karma · joined Apr 4, 2016 (10y ago) · 3 submissions

Submissions

comment 10y ago · link · parent

This is unacceptable. How can you be proud of cheating to win?

comment 10y ago · link · parent

Even with the exp claim if the user saves the token before they log out they can reuse it until it actually expires, you have to generate jtis and store them in a blacklist which is what the author of the article meant (you still have to have the concept of a session on the server to be totally sure).

comment 10y ago · link · parent

Why can't you just change the secret on the server? It would invalidate all sessions.