Age | Commit message (Expand) | Author |
2025-01-15 | Allow non-expiring JWTs•••The authorisation server was updated to return non-expiring JWTs, so
this particular client needs to allow for such.
| Frederick Muriuki Muriithi |
2024-09-25 | Fix typos. | Frederick Muriuki Muriithi |
2024-09-16 | Fix minor bugs and linting and typing errors. | Frederick Muriuki Muriithi |
2024-09-05 | Synchronise token refreshing.•••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.
| Frederick Muriuki Muriithi |
2024-09-04 | Update retrival of JSON Web Keys•••* Introduce the function `auth_server_jwks()` to use for fetching the
keys from the session if present, or from the server when absent or
out-of-date. It also handles updating the keys in the session.
* Remove the unnecessary verification of JWKs until the point where
that is needed, i.e. at the point(s) where there is need to verify
authorisation.
| Frederick Muriuki Muriithi |
2024-08-08 | Fix linting issues. | Frederick Muriuki Muriithi |
2024-08-06 | Override `client_secret_post`: use JSON•••Override the `client_secret_post` auth method to use JSON rather than
FORMDATA in order to gain some consistency while communicating with
the auth server.
| Frederick Muriuki Muriithi |
2024-08-05 | mypy and pylint fixes. | Frederick Muriuki Muriithi |
2024-08-05 | Fix bugs in POST wrapper for OAuth2 client•••* Call the correct __post__ function
* Set up the headers appropriately
| Frederick Muriuki Muriithi |
2024-07-26 | Add wrappers for OAuth2Session's `get` and `post` methods. Fix bugs. | Frederick Muriuki Muriithi |
2024-07-26 | Provide UI for enabling login to the application. | Frederick Muriuki Muriithi |
2024-07-26 | OAuth2 package: Handle OAuth2 related issues•••Adds utilities to handle talking to the authentication/authorisation
server.
| Frederick Muriuki Muriithi |