v0.5.174: timeout IAM 5с, rate-limiters на login/CRUD/export
This commit is contained in:
@@ -83,6 +83,7 @@ async function start() {
|
||||
if (auth.jwksHandler) app.get('/.well-known/jwks.json', auth.jwksHandler);
|
||||
|
||||
// ── OIDC-роуты (Keycloak) ───────────────────────────────────────────────
|
||||
app.use('/login', authLimiter); // защита от брутфорса
|
||||
const { createRouter: createOidcRouter } = require('./src/routes/oidc');
|
||||
app.use('/', createOidcRouter({ auth }));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user