Skip to content

Commit

Permalink
debug: invalid_grant bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
jonassimoen committed Jan 16, 2024
1 parent 9ca5c68 commit 9d48078
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/services/auth/google.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ export const getGoogleOAuthTokens = async ({ code }: { code: string }): Promise<
grant_type: "authorization_code",
redirect_uri: process.env.OAUTH_GOOGLE_REDIRECT_URL,
};
console.log("VALUES");
console.log(values);

try {
const res = await axios.post<GoogleTokensResult>(url, qs.stringify(values), {
Expand Down

0 comments on commit 9d48078

Please sign in to comment.