Last active
February 9, 2019 13:53
-
-
Save beleidy/4bb198abccad713b9b456838b38d0534 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GOOGLE_DISCOVERY_URI = "https://accounts.google.com/.well-known/openid-configuration" | |
response = requests.get(GOOGLE_DISCOVERY_URI) | |
response_json = response.json() | |
# If for any reason we don't get the expected response | |
# using the get method is safer | |
jwks_uri = response_json.get("jwks_uri", None) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment