Make sure blocked users tokens aren't valid anymore #30
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
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.