We are having this issue in Prod where AKAMAI as CDN.
There is no such issue in stage Environment where we have multiple servers behind the VIP.
2024-06-02 00:29:13.694 -04:00 [DBG] The SAML response signature verified.
2024-06-02 00:29:13.694 -04:00 [ERR] Receiving an SSO response from a partner identity provider has failed.
ComponentSpace.Saml2.Exceptions.SamlProtocolException: An SP-initiated SAML response from https://fZXXXXXXXXXXXXXXXXXXXXXoIMys6JhpRnP7_LH was received unexpectedly.
at ComponentSpace.Saml2.SamlServiceProvider.CheckInResponseTo(String inResponseTo)
In a multi-server environment you either need to configure the load balancer to use sticky sessions or SAML session state must be saved in a central repository (eg a database) accessible to all servers.
For more information, please refer to our Web Farm Guide.
Even If we have one server in the rotation we see same issue in prod but not in stage where we have Load Balancer too. Is there any Cache or SAML-Session manipulation done by CDN?