diff options
author | Frederick Muriuki Muriithi | 2024-09-16 15:47:45 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-09-16 15:47:45 -0500 |
commit | f0110a1cab4032d2f9fe7d3193178e9ec2383a68 (patch) | |
tree | be6fcbde0c8898c0e8eca7bf64f36e8f8c9a115b /uploader/oauth2 | |
parent | e0d831a003af8732dfc281a263d34a0ed8918ab5 (diff) | |
download | gn-uploader-f0110a1cab4032d2f9fe7d3193178e9ec2383a68.tar.gz |
Fix minor bugs and linting and typing errors.
Diffstat (limited to 'uploader/oauth2')
-rw-r--r-- | uploader/oauth2/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uploader/oauth2/client.py b/uploader/oauth2/client.py index e119cc3..70a32ff 100644 --- a/uploader/oauth2/client.py +++ b/uploader/oauth2/client.py @@ -61,7 +61,7 @@ def __update_auth_server_jwks__(jwks) -> KeySet: def auth_server_jwks() -> KeySet: """Fetch the auth-server JSON Web Keys information.""" - _jwks = session.session_info().get("auth_server_jwks") + _jwks = session.session_info().get("auth_server_jwks") or {} if bool(_jwks): return __update_auth_server_jwks__({ "last-updated": _jwks["last-updated"], |