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
Bhargavi Vadlamani 12Bhargavi Vadlamani 12 

Invalid Portal id

Hi Experts,

We enabled SAML federated authentication on our org for managing single sign-on between an external web portal and SFDC customer communities for logged users. Users are logged externally of SFDC. During the SSO process, SFDC sends a SAML request specifying as ACS URL https://test.salesforce.com, the same is passed back to SFDC from the identity provider in the assertion response. Until now it looks like to be everything ok but SFDC raises an INVALID PORTAL ID error because it doesn't identify the user as a costumer communities user.

Even if passing into the assertion response the organization_id and portal_id, there is still the same error raised by SFDC.

Thanks for your help inadvance.