Increase rate limits on client registration (hit while debugging client, I suspect others will also)

This commit is contained in:
Jerome 2025-06-10 21:47:20 +01:00
commit d691200555
No known key found for this signature in database

View file

@ -82,7 +82,13 @@ const options: AuthRouterOptions = {
windowMs: 5 * 1000,
limit: 100,
}
}
},
clientRegistrationOptions: {
rateLimit: {
windowMs: 60 * 1000, // 1 minute
limit: 10, // Limit to 10 registrations per minute
},
},
};
app.use(mcpAuthRouter(options));
const bearerAuth = requireBearerAuth(options);