Skip to content

Commit 2bf591f

Browse files
committed
fix(webapp): match the batch item bypass auth to the route
The bypass accepted a JWT while the item stream route does not, so a JWT could spend a grant before the route rejected it, draining budget the legitimate secret-key stream needs.
1 parent 1ce58a1 commit 2bf591f

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

apps/webapp/app/services/apiRateLimit.server.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ export const apiRateLimiter = authorizationRateLimitMiddleware({
9696
const [authError, authenticated] = await tryCatch(
9797
authenticateAuthorizationHeader(authorizationValue, {
9898
allowPublicKey: true,
99-
allowJWT: true,
10099
})
101100
);
102101

0 commit comments

Comments
 (0)