Skip to content

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

Feat: Org scoped JWT's

Daniel Hougaard1e20d780ec9f
diff --git a/backend/src/server/routes/index.ts b/backend/src/server/routes/index.ts
index e75a24f6b4..72208cc727 100644
--- a/backend/src/server/routes/index.ts
+++ b/backend/src/server/routes/index.ts
@@ -266,7 +266,7 @@ export const registerRoutes = async (
const tokenService = tokenServiceFactory({ tokenDAL: authTokenDAL, userDAL });
const userService = userServiceFactory({ userDAL });
- const loginService = authLoginServiceFactory({ userDAL, smtpService, tokenService });
+ const loginService = authLoginServiceFactory({ userDAL, smtpService, tokenService, orgDAL, tokenDAL: authTokenDAL });
const passwordService = authPaswordServiceFactory({
tokenService,
smtpService,