function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
alin.ax1241alin.ax1241 

Salesforce Communities with Single-Sign-On not working

I have gotten SAML SSO to work in our sandbox environment.  However, when I tried to set it up in our production environment, I am getting a weird 401 Unauthorized error when our IDP post the SAML response back to our community login page.  Hence, the traffic is redirected back to the login page again, which re-initiates the SAML request again.  This goes into infinite loop.

Did anyone experience similar issue?  I am stuck and not sure what is causing this.