This commit is contained in:
2026-08-14 16:03:47 +01:00
parent fd53e3f4fb
commit dfdc3b2840
2463 changed files with 186456 additions and 111315 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ var jwk = (options, init) => {
let token;
if (credentials) {
const parts = credentials.split(/\s+/);
if (parts.length !== 2) {
if (parts.length !== 2 || parts[0].toLowerCase() !== "bearer") {
const errDescription = "invalid credentials structure";
throw new HTTPException(401, {
message: errDescription,