aboutsummaryrefslogtreecommitdiff
path: root/uploader/oauth2/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'uploader/oauth2/client.py')
-rw-r--r--uploader/oauth2/client.py2
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"],