Skip to content

Commit

Permalink
Add debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
alex9smith committed Nov 21, 2024
1 parent d7694e9 commit 0e7218f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/services/google.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
export async function fetchUserProfile(tokenResponse) {
console.log("token response:");
console.log(tokenResponse);
const response = await fetch(
"https://www.googleapis.com/oauth2/v3/userinfo",
{ headers: { Authorization: `Bearer ${tokenResponse.access_token}` } }
Expand Down

0 comments on commit 0e7218f

Please sign in to comment.