From d874ea4f835334898f76e416c27ad7bbcc09bc0f Mon Sep 17 00:00:00 2001 From: Amruth Pillai Date: Tue, 20 Jan 2026 20:24:50 +0100 Subject: [PATCH] increase api rate limiter to 500 requests per day --- src/integrations/auth/config.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/integrations/auth/config.ts b/src/integrations/auth/config.ts index 8e023e9f7..b7fef3113 100644 --- a/src/integrations/auth/config.ts +++ b/src/integrations/auth/config.ts @@ -171,7 +171,14 @@ const getAuthConfig = () => { }, plugins: [ - apiKey(), + apiKey({ + enableSessionForAPIKeys: true, + rateLimit: { + enabled: true, + timeWindow: 1000 * 60 * 60 * 24, // 1 day + maxRequests: 500, // 500 requests per day + }, + }), username({ minUsernameLength: 3, maxUsernameLength: 64,