Skip to content

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

Fixed /ldap-auth/identities/:identityId response schema

Carlos Monastyrski0beff3cc1c07
diff --git a/backend/src/server/routes/v1/identity-ldap-auth-router.ts b/backend/src/server/routes/v1/identity-ldap-auth-router.ts
index 13710a44d4..5d3612bf51 100644
--- a/backend/src/server/routes/v1/identity-ldap-auth-router.ts
+++ b/backend/src/server/routes/v1/identity-ldap-auth-router.ts
@@ -469,8 +469,8 @@ export const registerIdentityLdapAuthRouter = async (server: FastifyZodProvider)
encryptedBindPass: true,
encryptedLdapCaCertificate: true
}).extend({
- bindDN: z.string().optional(),
- bindPass: z.string().optional(),
+ bindDN: z.string(),
+ bindPass: z.string(),
ldapCaCertificate: z.string().optional(),
templateId: z.string().optional().nullable()
})