Skip to content

Commit

Permalink
Remove code added while debugging Google SSO
Browse files Browse the repository at this point in the history
  • Loading branch information
dianaclarke committed Aug 18, 2021
1 parent 0a833a3 commit 522ea15
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions conbench/api/_google.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ def get_google_config():
client_id = os.environ.get("GOOGLE_CLIENT_ID", None)
client_secret = os.environ.get("GOOGLE_CLIENT_SECRET", None)
discovery_url = "https://accounts.google.com/.well-known/openid-configuration"
if client_id and not client_id.endswith(".apps.googleusercontent.com"):
client_id += ".apps.googleusercontent.com"
return discovery_url, client_id, client_secret


Expand All @@ -19,7 +17,6 @@ def get_google_client():
discovery_url, client_id, _ = get_google_config()
google = requests.get(discovery_url).json()
client = WebApplicationClient(client_id)

return client, google


Expand Down

0 comments on commit 522ea15

Please sign in to comment.