From 0beff3cc1c071c242ee80e72ceceeea454ee7c26 Mon Sep 17 00:00:00 2001 From: Carlos Monastyrski Date: Mon, 4 Aug 2025 16:05:39 -0300 Subject: [PATCH] Fixed /ldap-auth/identities/:identityId response schema --- backend/src/server/routes/v1/identity-ldap-auth-router.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 13710a44d..5d3612bf5 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() })