SAML InResponseTo validation failed: The InResponseTo attribute does not match the id in the AuthNRequest

Problem Statement

We created a new SAML connection and saw the error “SAML InResponseTo validation failed: The InResponseTo attribute does not match the id in the AuthNRequest”.

Solution

The SAML Request template should not use a hard-coded string value for the ID in the SAML request. Instead, it should use ID=“@@ID@@” to generate an ID value for each login request.