When performing a Service Provider (SP) initiated SAML 2.0 login, the browser redirected to the login.fcc page results in a 404 - File or directory not found error.
The login page displays correctly when using an Identity Provider (IdP) initiated URL (which typically lacks heavy query parameters).
The SP-initiated URL fails because it contains long SAML Request parameters.
The total URL length exceeds 2048 characters.
Web Agent on IIS 7.5 and later;
The issue is caused by a security restriction in Microsoft IIS known as Request Filtering. By default, IIS limits the length of a query string to 2048 bytes. During an SP-initiated flow, the SAML SAMLRequest or RelayState parameters can easily push the total query string length beyond this limit.
When this limit is exceeded, IIS rejects the request and returns an HTTP 404.15 error (The request filtering module is configured to deny a request where the query string is too long) (1).
Verify the specific error: Check the IIS substatus code.
A standard 404 is generic, but 404.15 explicitly confirms a query string length issue.
SiteMinder FCC limitations:
While IIS is the primary bottleneck here, ensure that your SiteMinder MaxUrlSize settings (in the ACO) are also aligned if complex redirects are in use.
To resolve this, increase the maxQueryString limit in the IIS configuration to accommodate the length of the SAML requests.