Make sure blocked users tokens aren't valid anymore #30

Open
opened 2021-08-30 07:26:46 +00:00 by Jef Roosens · 0 comments

Right now, we just read the JWT & check if it's been expired, but this doesn't account for users that have been blocked but still have some time left on their token.

Maybe we can keep a store in memory that handles these edge cases? A database operation would be too expensive imo every time we check a JWT.

Right now, we just read the JWT & check if it's been expired, but this doesn't account for users that have been blocked but still have some time left on their token. Maybe we can keep a store in memory that handles these edge cases? A database operation would be too expensive imo every time we check a JWT.
Jef Roosens added this to the (deleted) milestone 2021-08-30 07:26:46 +00:00
Jef Roosens added the
bug
Backend
labels 2021-08-30 07:26:46 +00:00
Jef Roosens removed this from the (deleted) milestone 2021-09-04 17:03:07 +00:00
Jef Roosens added the
Security
label 2021-09-13 14:27:59 +00:00
This repo is archived. You cannot comment on issues.
There is no content yet.