Skip to content

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

Fix: Return access token

Daniel Hougaardeace4f1bdcbe
diff --git a/backend/src/server/routes/v3/login-router.ts b/backend/src/server/routes/v3/login-router.ts
index e13198440d..ea6b3f52eb 100644
--- a/backend/src/server/routes/v3/login-router.ts
+++ b/backend/src/server/routes/v3/login-router.ts
@@ -65,6 +65,8 @@ export const registerLoginRouter = async (server: FastifyZodProvider) => {
sameSite: "strict",
secure: cfg.HTTPS_ENABLED
});
+
+ return { token: tokens.access };
}
});