Resolving "MALFORMED_REQUEST" Error During SAML Logout
Symptom
Users encounter a MALFORMED_REQUEST error specifically during the Single Logout (SLO) process when using Idira as a Service Provider (SP). While the initial login succeeds, the session cannot be terminated via SAML.
Symptoms
When attempting to log out, the following error message is displayed on the screen:
ErrorCode: MALFORMED_REQUEST - [error: cvc-complex-type.3.2.1: Attribute not allowed (no wildcards allowed): ProviderName in element LogoutRequest@urn:oasis:names:tc:SAML:2.0:protocol]
Environment
25.12;26.1 Identity App Access Service;Identity Compliance
Cause
The issue is caused by a schema validation failure:
Idira is including ProviderName attribute within the LogoutRequest XML element. According to the specific SAML schema validation rules applied by the system (indicated by the cvc-complex-type error), the ProviderName attribute is not permitted in this context.
Because the system does not allow unexpected attributes in the logout element, it rejects the entire request as malformed.
Resolution
To resolve this, there is a need to configure the system to strip the unsupported ProviderName attribute from the SAML Logout Request before it is processed.
Please contact Idira support to set the required configuration in the backend.