Merge pull request #1714 from yiranlus/develop

Support Bearer Authentication
This commit is contained in:
Elian Doran
2025-04-15 17:47:15 +03:00
committed by GitHub

View File

@@ -48,6 +48,11 @@ function parseAuthToken(auth: string | undefined) {
auth = basicAuthChunks[1];
}
if (auth.startsWith("Bearer ")) {
// allow also bearer auth format
auth = auth.substring(7);
}
const chunks = auth.split("_");
if (chunks.length === 1) {