Skip to content

Commit

Permalink
Require https, expect Roblox issuer to be secure (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nightriff authored Oct 24, 2023
1 parent 2733994 commit 605cc42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jwt_http_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 605cc42

Please sign in to comment.