diff options
| author | Frederick Muriuki Muriithi | 2025-02-28 12:44:55 -0600 |
|---|---|---|
| committer | Frederick Muriuki Muriithi | 2025-02-28 12:44:55 -0600 |
| commit | ef1436bca390ee916b7119036ab2d3de8d1344fb (patch) | |
| tree | 8ed0197669d51d2f825080bfbda10e35fa2403aa /gn3/oauth2/jwks.py | |
| parent | 4edc4450e6fe578212600ad9733f0fa6eb3ffc9f (diff) | |
| download | genenetwork3-ef1436bca390ee916b7119036ab2d3de8d1344fb.tar.gz | |
Fix linting errors.
Diffstat (limited to 'gn3/oauth2/jwks.py')
| -rw-r--r-- | gn3/oauth2/jwks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/oauth2/jwks.py b/gn3/oauth2/jwks.py index 8798a3f..c670bf7 100644 --- a/gn3/oauth2/jwks.py +++ b/gn3/oauth2/jwks.py @@ -12,7 +12,7 @@ from gn3.oauth2.errors import TokenValidationError def fetch_jwks(authserveruri: str, path: str = "auth/public-jwks") -> KeySet: """Fetch the JWKs from a particular URI""" try: - response = requests.get(urljoin(authserveruri, path)) + response = requests.get(urljoin(authserveruri, path), timeout=300) if response.status_code == 200: return KeySet([ JsonWebKey.import_key(key) for key in response.json()["jwks"]]) |
