Skip to content

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

add ids to log

Thiago Araujo da Silvaa22ec2899c9b
diff --git a/backend/src/ee/services/saml-config/saml-config-service.ts b/backend/src/ee/services/saml-config/saml-config-service.ts
index 4c62f0f1d2..48105f50b2 100644
--- a/backend/src/ee/services/saml-config/saml-config-service.ts
+++ b/backend/src/ee/services/saml-config/saml-config-service.ts
@@ -599,7 +599,10 @@ export const samlConfigServiceFactory = ({
);
if (!claimed) {
- logger.warn({ samlConfigId, assertionIdHash }, "Rejected a SAML assertion that was already used");
+ logger.warn(
+ { samlConfigId, assertionIdHash },
+ `Rejected a SAML assertion that was already used [samlConfigId=${samlConfigId}] [assertionIdHash=${assertionIdHash}]`
+ );
throw new BadRequestError({
message: "This SAML response was already used. Sign in again through your identity provider."
});