Re:Startup Engineers and Our Mistakes with MongoDB
by STRML on Wednesday July 19, 2017 @12:58PM
(#14805751)
That's a matter of opinion and implementation. Not everyone uses JWTs. What if you want to invalidate all logged-in tokens for a user? You either need to store a blacklist (that's a relation) or set extremely short expiry times.
[ Parent
| on HN ]
Re:Startup Engineers and Our Mistakes with MongoDB
by ZephyrP on Wednesday July 19, 2017 @01:12PM
(#14805900)
i think he is discussing standard cookie session ids here, not access tokens. in many web applications, all the information you need is stored within that token and signed by a server-side secret.
Re:Startup Engineers and Our Mistakes with MongoDB
by pritambaral on Wednesday July 19, 2017 @04:09PM
(#14807468)
Same thing. How do you invalidate a signed cookie?