diff --git a/openid.py b/openid.py index ab8692e..c3d68a6 100644 --- a/openid.py +++ b/openid.py @@ -58,7 +58,7 @@ def get_key(self, keyId): # Refresh the cache if it's more than 5 days old. if diff.total_seconds() > 5 * 24 * 60 * 60: - refresh_cache() + refresh_cache(self._url) keys = OpenIDConnectConfiguration.signing_keys.get(self._url) if keys is not None: