Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
feat: debug added log points for entra failing saml
=1384c8e8556c
diff --git a/backend/src/ee/routes/v1/saml-router.ts b/backend/src/ee/routes/v1/saml-router.tsindex f0e69715de..716c23fe52 100644--- a/backend/src/ee/routes/v1/saml-router.ts+++ b/backend/src/ee/routes/v1/saml-router.ts@@ -103,6 +103,13 @@ export const registerSamlRouter = async (server: FastifyZodProvider) => {const email = profile?.email ?? (profile?.emailAddress as string); // emailRippling is added because in Rippling the field `email` reservedif (!email || !profile.firstName) {+ logger.info(+ {+ err: new Error("Invalid saml request. Missing email or first name"),+ profile+ },+ `email: ${email} firstName: ${profile.firstName as string}`+ );throw new BadRequestError({ message: "Invalid request. Missing email or first name" });}diff --git a/standalone-entrypoint.sh b/standalone-entrypoint.shindex 8fcdb26e7c..783ce6a8e7 100755--- a/standalone-entrypoint.sh+++ b/standalone-entrypoint.sh@@ -7,4 +7,4 @@ scripts/initialize-standalone-build.shcd ../-exec node dist/main.mjs+exec node --enable-source-maps dist/main.mjs