Question
Virtusa Consulting and Services Pty Ltd
AU
Last activity: 7 Apr 2021 3:19 EDT
cLSA Security Excellence webinar - SAML 2.0
Step 5 needs to return to the node from where Step 1 was initiated. The question is we do not have a user session yet, so why do we need session affinity at this point. We are using Pega 8.3 and if the SAML response is not redirected to the node from where the request was initiated, it fails.
Session Affinity is established at step 8 when the Pega-RULES cookie is issued. The Load Balancer should then ensure affinity based on the Pega-RULES cookie. The AssertionConsumer response at step 5 can be processed by any webuser node. I don't think your SAML response can be failing because of the webuser node it is being processed on. There are multiple reasons why a SAML response will not result in successful authentication. I have not observed the pattern you are mentioning.