diff --git a/src/strategy.ts b/src/strategy.ts index 8d67d36..1a43f49 100644 --- a/src/strategy.ts +++ b/src/strategy.ts @@ -74,7 +74,7 @@ export class ZitadelIntrospectionStrategy extends Strategy { ): Promise { 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; }