Skip to content

Commit 24349ac

Browse files
authored
fix: reduce logging level for stfc expired token (#1216)
2 parents 023e343 + 927109b commit 24349ac

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

apps/backend/src/auth/StfcUserAuthorization.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,8 @@ export class StfcUserAuthorization extends UserAuthorization {
334334
return response.identifier !== undefined;
335335
})
336336
.catch((error) => {
337-
logger.logError(
337+
// Warn only as this could be a user trying to use an expired token
338+
logger.logWarn(
338339
'An error occurred while validating the token using validateToken',
339340
error
340341
);

0 commit comments

Comments
 (0)