News for hackers. Stuff that matters.
Re:Stop using JWT for sessions (2016) by rusk on Thursday November 01, 2018 @11:13AM (#18354672)
Having recently joined a project that uses JWT (I was completely ignorant of it beforehand - cookies all the way), I can say that a key advantage is convenience for developers and testing. Once you have the secret for signing you can pretty much access any of the application without having to jimmy the access-controls. I guess that could be a weakness too, but in my experience in fast moving commercially driven environments with little technical oversight (a lot of the industry these days) developer convenience does seem to drive a lot of design choices ...
Re:Stop using JWT for sessions (2016) by shusson on Thursday November 01, 2018 @11:35AM (#18354926)
> JWT (I was completely ignorant of it beforehand - cookies all the way)

JWTs can be stored in cookies. So I don't understand why you say this.

Re:Stop using JWT for sessions (2016) by rusk on Thursday November 01, 2018 @11:46AM (#18355101)
Oh I'm not aware of the means of using JWT you describe. I think the context of this article is using JWT exclusively, and by the looks of things plenty of people are doing just that.
Re:Stop using JWT for sessions (2016) by 0xffff2 on Thursday November 01, 2018 @03:40PM (#18357664)
The article specifically addresses the confusion that you're exhibiting:

>A lot of people mistakenly try to compare "cookies vs. JWT". This comparison makes no sense at all, and it's comparing apples to oranges - cookies are a storage mechanism, whereas JWT tokens are cryptographically signed tokens.

There's no such thing as "JWT exclusively". The JWT is just a chunk of data; it has to be stored somewhere, either in a cookie or in local storage.

Re:Stop using JWT for sessions (2016) by rusk on Friday November 02, 2018 @04:28AM (#18361427)
I’m not too sure what you’re talking about but the article is about this confusion.