Skip to content

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

Fix merge conflicts

Tuan Dangf29dd6effac2
diff --cc backend/src/server/routes/index.ts
index b4cbb9b9d4,d3d01ccb5d..9c0e90a6ed
--- a/backend/src/server/routes/index.ts
+++ b/backend/src/server/routes/index.ts
@@@ -160,6 -166,8 +168,7 @@@ export const registerRoutes = async
const auditLogDAL = auditLogDALFactory(db);
const trustedIpDAL = trustedIpDALFactory(db);
- const scimDAL = scimDALFactory(db);
+ const telemetryDAL = telemetryDALFactory(db);
// ee db layer ops
const permissionDAL = permissionDALFactory(db);
@@@ -229,16 -235,16 +238,29 @@@
smtpService
});
++<<<<<<< HEAD
+ const ldapService = ldapConfigServiceFactory({
+ ldapConfigDAL,
+ orgDAL,
+ orgBotDAL,
+ userDAL,
+ permissionService,
+ licenseService
+ });
+
+ const telemetryService = telemetryServiceFactory();
++=======
+ const telemetryService = telemetryServiceFactory({
+ keyStore,
+ licenseService
+ });
+ const telemetryQueue = telemetryQueueServiceFactory({
+ keyStore,
+ telemetryDAL,
+ queueService
+ });
+
++>>>>>>> origin
const tokenService = tokenServiceFactory({ tokenDAL: authTokenDAL, userDAL });
const userService = userServiceFactory({ userDAL });
const loginService = authLoginServiceFactory({ userDAL, smtpService, tokenService });
diff --cc backend/src/server/routes/v1/admin-router.ts
index 1e04980f7b,38f948851f..d8431a62f0
--- a/backend/src/server/routes/v1/admin-router.ts
+++ b/backend/src/server/routes/v1/admin-router.ts
@@@ -90,11 -90,11 +90,11 @@@ export const registerAdminRouter = asyn
userAgent: req.headers["user-agent"] || ""
});
- server.services.telemetry.sendPostHogEvents({
+ await server.services.telemetry.sendPostHogEvents({
event: PostHogEventTypes.AdminInit,
- distinctId: user.user.email,
+ distinctId: user.user.email ?? user.user.username ?? "",
properties: {
- email: user.user.email,
+ email: user.user.email ?? "",
lastName: user.user.lastName || "",
firstName: user.user.firstName || ""
}
diff --cc docs/documentation/platform/ldap/general.mdx
index 81c291c22d,b4f772ea35..137538cffc
--- a/docs/documentation/platform/ldap/general.mdx
+++ b/docs/documentation/platform/ldap/general.mdx
@@@ -5,7 -5,7 +5,6 @@@ description: "Log in to Infisical with
<Info>
LDAP is a paid feature.
-
-
If you're using Infisical Cloud, then it is available under the **Enterprise Tier**. If you're self-hosting Infisical,
then you should contact [email protected] to purchase an enterprise license to use it.
</Info>
@@@ -30,7 -30,7 +29,6 @@@ You can configure your organization in
</Step>
<Step title="Enable LDAP in Infisical">
Enabling LDAP allows members in your organization to log into Infisical via LDAP.
-
-
![LDAP toggle](/images/platform/ldap/ldap-toggle.png)
</Step>
</Steps>
diff --cc docs/documentation/platform/ldap/jumpcloud.mdx
index b80cb49a15,b52a75880e..5e7e42ca85
--- a/docs/documentation/platform/ldap/jumpcloud.mdx
+++ b/docs/documentation/platform/ldap/jumpcloud.mdx
@@@ -5,7 -5,7 +5,6 @@@ description: "Configure JumpCloud LDAP
<Info>
LDAP is a paid feature.
-
-
If you're using Infisical Cloud, then it is available under the **Enterprise Tier**. If you're self-hosting Infisical,
then you should contact [email protected] to purchase an enterprise license to use it.
</Info>
@@@ -47,7 -47,7 +46,6 @@@
</Step>
<Step title="Enable LDAP in Infisical">
Enabling LDAP allows members in your organization to log into Infisical via LDAP.
-
-
![LDAP toggle](/images/platform/ldap/ldap-toggle.png)
</Step>
</Steps>
diff --cc docs/mint.json
index dc56e39710,8f1835d5fb..d316ff81a9
--- a/docs/mint.json
+++ b/docs/mint.json
@@@ -146,16 -146,16 +146,24 @@@
"documentation/platform/sso/gitlab",
"documentation/platform/sso/okta",
"documentation/platform/sso/azure",
- "documentation/platform/sso/jumpcloud"
+ "documentation/platform/sso/jumpcloud",
+ "documentation/platform/sso/google-saml"
+ ]
+ },
+ {
+ "group": "LDAP",
+ "pages": [
+ "documentation/platform/ldap/overview",
+ "documentation/platform/ldap/jumpcloud",
+ "documentation/platform/ldap/general"
+ ]
+ },
- "documentation/platform/ldap",
+ {
+ "group": "LDAP",
+ "pages": [
+ "documentation/platform/ldap/overview",
+ "documentation/platform/ldap/jumpcloud",
+ "documentation/platform/ldap/general"
]
},
{