Increase rate limits on client registration (hit while debugging client, I suspect others will also)
This commit is contained in:
parent
93c939614e
commit
d691200555
1 changed files with 7 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue