Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Merge pull request #2797 from akhilmhdh/feat/oauth2-csrf

Akhil Mohanef82c664a6d7
diff --cc backend/src/main.ts
index 8e36029747,02b20b6f5e..ca85625c26
--- a/backend/src/main.ts
+++ b/backend/src/main.ts
@@@ -55,11 -56,9 +56,12 @@@ const run = async () =>
}
const smtp = smtpServiceFactory(formatSmtpConfig());
- const queue = queueServiceFactory(appCfg.REDIS_URL);
+
+ const queue = queueServiceFactory(appCfg.REDIS_URL, appCfg.DB_CONNECTION_URI);
+ await queue.initialize();
+
const keyStore = keyStoreFactory(appCfg.REDIS_URL);
+ const redis = new Redis(appCfg.REDIS_URL);
const hsmModule = initializeHsmModule();
hsmModule.initialize();
diff --cc backend/src/server/app.ts
index 83c34e5a73,b9e17525c7..0b01dcc930
--- a/backend/src/server/app.ts
+++ b/backend/src/server/app.ts
@@@ -10,9 -10,10 +10,10 @@@ import fastifyFormBody from "@fastify/f
import helmet from "@fastify/helmet";
import type { FastifyRateLimitOptions } from "@fastify/rate-limit";
import ratelimiter from "@fastify/rate-limit";
+import { fastifyRequestContext } from "@fastify/request-context";
import fastify from "fastify";
+ import { Redis } from "ioredis";
import { Knex } from "knex";
-import { Logger } from "pino";
import { HsmModule } from "@app/ee/services/hsm/hsm-types";
import { TKeyStoreFactory } from "@app/keystore/keystore";