Skip to content

Commit

Permalink
Add extra debug logging for failed authorization code checks
Browse files Browse the repository at this point in the history
  • Loading branch information
danielnaab committed Aug 9, 2024
1 parent 9c5168b commit bc44d2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/auth/src/services/process-provider-callback.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export const processProviderCallback = async (
return r.success(result);
})
.catch(error => {
console.error(error, error.stack);
if (
error instanceof OAuth2RequestError &&
error.message === 'bad_verification_code'
Expand Down

0 comments on commit bc44d2d

Please sign in to comment.