Comment

Comment by mattmanser

This makes it sound like you've only worked in an extremely narrow domain.

It's not rare, it happens constantly in enterprise software, project managemment software, anything where you have collaboration.

What is so frustrating about tech like JWTs is that it fits the fairly rare, high profile, websites like Reddit, netflix, etc. but doesn't fit ANYTHING else.

Everyone else wants immediate revocation of rights, not waiting for a token to expire.

And yet we all have to suffer this subpar tech because someone wrote a blog post about it and a bunch of moronic software "architects" made it the only option. If you don't JWT somehow you're doing it wrong, even though it should in fact be an extremely niche way of doing Auth at scale.

Simple cookie based tokens were and still are a much better choice for many applications.

parent mattmanser 1 year ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton