For a new node.js project I\'m working on, I\'m thinking about switching over from a cookie based session approach (by this, I mean, storing an id to a key-value store conta
I just save token to users table, when user login I will update new token, and when auth equal to the user current jwt.
I think this is not the best solution but that work for me.