Question


LTIMindtree
SA
Last activity: 5 Nov 2024 5:20 EST
SSO-Login Issue - Invalid State Parameter error
We have configured Single Sign-On Authentication Service and it was working fine for sometime. Started facing an error while using SSO Authentication Service as "Invalid State Parameter Received".
Did not get any clue on why are we facing the issue. We have even tried re-configure the SSO Authentication Service again but the same problem occured.
-
Reply
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution


LTIMindtree
SA
Follow-Solution for identified RCA:
As part of Application Security enhancements, CSRF Settings enabled in the application and 'Enable Same Site Cookie Attribute' which is selected with "Strict" is causing the issue. Updated the value from "Strict to Lax" which fixed the SSO Login Issue.
Updated: 5 Jan 2023 1:56 EST


LTIMindtree
SA
Root Cause Identified: Organization wide Domain change caused the new IP address invloved so SSO Calls are not reaching the IDP / IAM Layer for authenticity causing the Invalid State Parameter error. Working on the Solution.


Pegasystems Inc.
GB
@Kishore Sanagapalli thanks so much for keeping up updated.
Once you find the solution would you be happy to post it here and mark your answer as 'Accept Solution'?
Thanks again!


LTIMindtree
SA
Yes, Sure
Accepted Solution


LTIMindtree
SA
Follow-Solution for identified RCA:
As part of Application Security enhancements, CSRF Settings enabled in the application and 'Enable Same Site Cookie Attribute' which is selected with "Strict" is causing the issue. Updated the value from "Strict to Lax" which fixed the SSO Login Issue.
Updated: 29 Oct 2024 2:07 EDT


Uniqa
RO
We are facing the same issue in our system. It seems it started with the Pega upgrade to Infinity 23. The CSRF settings is LAX. Do you have other ideas?
Br,
Tavi


LTIMindtree
SA
Sometimes, It's possible with upgrades. You will need to change the CSRF settings to Lax and restart the web pods for the changes to effect and see the change.


Uniqa
RO
but the setting is set to LAX for a long time and Infinity23 upgrade took part on 19th of March 2024(then the error started occuring) and we still get the error. Conclusion is that LAX setting is not working for us. Any other ideas?
Br,
Tavi


LTIMindtree
SA
1. Did you verify if any new firewall rules have been applied on the infra level?
2. Did you enable the tracer and tried to re-produce the issue for error traces?


Uniqa
RO
1. No new Fw rules were applied.
2. I am not able to reproduce the error and I cannot trace it.
What I did is:
1. Created a new log category for PEGA support team(to check the OIDC process), and they are still analyzing the issue.
Br,
Tavi


LTIMindtree
SA
Okay, Please post the analysis outcome