Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Commit

Permalink
Log token validation error to console
Browse files Browse the repository at this point in the history
Signed-off-by: Emiliano Suñé <emiliano.sune@gmail.com>
  • Loading branch information
esune committed Nov 4, 2020
1 parent cd09934 commit 01c8e0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/src/utils/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ function verifyIdToken(
algorithms: context.app.get("authentication").algorithms,
});
} catch (error) {
logger.error(error);
decoded = undefined;
}
return decoded;
Expand Down

0 comments on commit 01c8e0e

Please sign in to comment.