Re:Stop using JWT for sessions (2016)
by dpark on Thursday November 01, 2018 @10:48AM
(#18354370)
I would like to know what you mean. “Invalidating the client” seems almost nonsensical since you don’t control the client.
[ Parent
| on HN ]
You do control what clients (think client_id/secret) can use your APIs. Don't you? You figure it out from there.
No. The discussion here is about using JWT for sessions with web clients.
If you’re registering a dedicated client id and secret for each web client, they you’re doing something wrong. If you’re doing this and then also using JWT, then you’re doing something really bizarre, and still wrong.
Id/secret pairs can make lots of sense for integrating partner services with your API. They make no sense for web clients, where you should be authing a user and not a client.
Classic hostility on HN. I'm out, I'll go find my tribe.
Nowhere was I hostile. I answered your comments politely and clearly. You were arrogant and condescending but you apparently don't actually know what you're talking about.
Please do go find your tribe of condescending devs with fragile egos.