aboutsummaryrefslogtreecommitdiff
path: root/uploader/session.py
AgeCommit message (Collapse)Author
2024-09-16Fix minor bugs and linting and typing errors.Frederick Muriuki Muriithi
2024-09-05Synchronise token refreshing.Frederick Muriuki Muriithi
When running flask with multiple threads/workers, as happens when using gunicorn, there is a potential for more than one thread running with an expired token, leading to multiple uncoordinated token refreshes. This commit coordinates the threads in the case there is need to refresh a token, ensuring only one thread does the token refresh.
2024-09-04Add function to update the JSON Web Keys in the sessionFrederick Muriuki Muriithi
When new JSON Web Keys (JWKs) are fetched from the server, the function added in this commit will help with updating them in the session for subsequent uses, validating the tokens when needed.
2024-08-05Enable logout.Frederick Muriuki Muriithi
2024-07-25Add session module: handles session management.Frederick Muriuki Muriithi