News for hackers. Stuff that matters.
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.
Re:Don't use JSON web tokens for sessions by cortesoft on Monday June 13, 2016 @08:19PM (#11898866)
You might be, but many people use signed cookie sessions in order to avoid having to check the DB.