Skip to content

Commit

Permalink
Update error message
Browse files Browse the repository at this point in the history
Co-authored-by: adaptive-beaver <adaptive.beaver@gmail.com>
  • Loading branch information
khilkovetsmykhailo and adaptive-beaver committed Nov 13, 2024
1 parent 713e3ce commit d52081c
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 d52081c

Please sign in to comment.