Skip to content

Commit

Permalink
fix: updated warning whenever token is invalid
Browse files Browse the repository at this point in the history
  • Loading branch information
JanssenBrm committed May 24, 2024
1 parent a944a6b commit 68f4986
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/auth/bearer/bearer.strategy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export class BearerStrategy extends PassportStrategy(Strategy, 'bearer') {
this.logger.debug(
`Introspection response: ${JSON.stringify(response)}`,
);
this.logger.warn(`Token is invalid`);
this.logger.error(`Token is not active`);
// We pass it through info to indicate that the token is invalid and trigger a fail vs an error.
// See strategy.js for more information on the implementation
return {
Expand Down

0 comments on commit 68f4986

Please sign in to comment.