Skip to content

Commit

Permalink
Merge pull request #3 from khilkovetsmykhailo/fix
Browse files Browse the repository at this point in the history
Update error message
  • Loading branch information
khilkovetsmykhailo authored Nov 13, 2024
2 parents 713e3ce + d52081c commit e0b9f30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/strategy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export class ZitadelIntrospectionStrategy extends Strategy {
): Promise<void> {
const authHeader = req.headers?.authorization;
if (!authHeader || !authHeader.toLowerCase().startsWith("bearer ")) {
this.fail({ message: "No bearer token found in authorization header" });
this.fail({ message: "No bearer token found" });
return;
}

Expand Down

0 comments on commit e0b9f30

Please sign in to comment.