News for hackers. Stuff that matters.
Re:Don't use JSON web tokens for sessions by EdSharkey on Monday June 13, 2016 @04:52PM (#11897530)
So, if I'm reading the advice right, then ...

  * Using JWT for authorization, particularly for one-time use == GOOD
  * Using JWT to represent long-lived persistent session state == BAD
and, always transmit your tokens in all directions over HTTPS.

This seems like useful advice given all the reasons put forward. Do I understand correctly or did I miss anything?

Re:Don't use JSON web tokens for sessions by CiPHPerCoder on Monday June 13, 2016 @04:55PM (#11897554)
That's it in a nutshell. A lot of developers also misuse JWT in strange ways, and the meat of this article was responding to those weird/unsafe use-cases.
Re:Don't use JSON web tokens for sessions by dabernathy89 on Monday June 13, 2016 @07:21PM (#11898574)
Haven't used JWTs myself, but whenever I read an article or tutorial about them, it's always in the context of replacing session cookies.
Re:Don't use JSON web tokens for sessions by joepie91_ on Monday June 13, 2016 @05:09PM (#11897674)
That's pretty much a perfect summary, yeah.
Re:Don't use JSON web tokens for sessions by mstade on Tuesday June 14, 2016 @09:03AM (#11901727)
Yeah, pretty much. JWT is a very good and useful spec, I think particularly in distributed systems, but it's no panacea.