Skip to content

Commit

Permalink
add logging to get user info
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-XT committed Jun 12, 2024
1 parent a75729d commit 681983e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sso/Google.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ def get_user_info(self):
headers={"Authorization": f"Bearer {self.access_token}"},
)
data = response.json()
logging.info(f"Google user info: {data}")
return {
"email": data["emailAddresses"][0]["value"],
"first_name": data["names"][0]["givenName"],
Expand Down

0 comments on commit 681983e

Please sign in to comment.