diff --git a/lib/jwt_http_client.py b/lib/jwt_http_client.py index 1cf42b4..5b59049 100644 --- a/lib/jwt_http_client.py +++ b/lib/jwt_http_client.py @@ -49,7 +49,7 @@ async def get_json(self, url: str): :return: The JSON data as a dictionary. :raise JWTHTTPFetchError: If there's a problem fetching or decoding the data. """ - if not (url.startswith("https://") or url.startswith("http://")): + if not url.startswith("https://"): raise JWTHTTPFetchError("Unsupported protocol in 'iss'") try: