Re:Don't use JSON web tokens for sessions
by rahkiin on Monday June 13, 2016 @05:49PM
(#11897994)
Yeah, I guess it is. I only use redis for a simple cache and for worker queues. For authentication I use JWT. I store the user permissions inside the token, purely to be used by the client side (for showing/hiding interface elements). Permissions in the backend are over the database. So I tried to minimize the revoke-problem.
[ Parent
| on HN ]
There are no comments on this comment yet.