Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tschellenbach
on Nov 1, 2018
|
parent
|
context
|
favorite
| on:
Stop using JWT for sessions (2016)
Also you're typically already looking up the user so you can just add a token_version property on the user and increment it when you want to expire tokens for that user. JWT problem solved without any additional work for the db.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: