Re:Don't use JSON web tokens for sessions
by seangrogg on Monday June 13, 2016 @08:02PM
(#11898787)
I hit the database on requests - I keep their identity in the JWT but not their permissions. And if they're hitting a protected route (the only time their identity is necessary anyways) you best be sure I'm checking their canonical permissions.
[ Parent
| on HN ]