News for hackers. Stuff that matters.
Re:JWT is Awesome by zaiste on Tuesday February 18, 2020 @09:22AM (#22356230)
I've written such a rant almost a year ago. [1] The article shows how to build a « RESTful » API secured with sessions implemented using regular cookies: simpler & without unnecessary complexity.

[1]: https://zaiste.net/creating-secure-rest-api-nodejs-without-j...

Re:JWT is Awesome by Scarblac on Wednesday February 19, 2020 @03:19AM (#22363880)
That's nice, and how it was done for decades. But I'm looking at JWT in a context where we have an application with a REST API, third parties paying us for licenses want to write frontends running on their own domains using to that API, and authentication servers are run by end user organizations that manage their own users.

Our API knows that that organization's auth server is allowed to sign tokens, the third party frontends can obtain those tokens and send them to our API, and it works (or so I hope, I'm in the reading up on all this stuff phase). Sessions using regular cookies just don't.

Re:JWT is Awesome by codezero on Tuesday February 18, 2020 @12:12PM (#22357633)
I don’t see any mention of cookies in that post except about an upcoming post. Does your framework provide the persistence on the client side for authentication, or does it rely on the client to maintain that token?