News for hackers. Stuff that matters.
Re:Ask HN: What's the current sentiment on JWT for stateless... by peburrows on Friday December 13, 2019 @07:26PM (#21786924)
“I don’t like to waste bytes” isn’t exactly a great reason to write off a widely accepted and deployed spec for transmitting data in a trustworthy manner and instead write your own implementation, which most likely hasn’t considered all the attack vectors the JWT (and broader JOSE) spec has considered and accounted for.

I get the motivation — and I hesitate a little bit to say this — but it’s 2019, and a few “wasted” bytes on your auth token are less than inconsequential in a world where your front-end codebase mostly like “wastes” thousands (if not millions) of bytes.

When it comes to securely transmitting data, it most often pays to lean on the work and research of others.

Re:Ask HN: What's the current sentiment on JWT for stateless... by vbezhenar on Friday December 13, 2019 @08:02PM (#21787077)
I prefer to keep it simple. JWT does not look like a simple thing.