Skip to main content

We are using salesforce as an IDP for multiple external sites

 

The scenario is : 

  1. I am on the first external site, I try to log in 
  2. The site redirect me to Salesforce (via OIDC) to log in
  3. I perform the login at the salesforce level (in a salesforce site with a custom domain like : myCustomDoamin.force.com)
  4. I am redirected back to my site authenticated 
  5. --------------second part-----------------
  6. I am on the second site, I try to log in 
  7. The site redirect me to Salesforce (via SAML) to log in
  8. I am not logged in in Salesforce, hence I have to re-login at the salesforce level again (in a salesfoce site with a custom domain like : myCustom-Domain.com)

Question : is there any limitation regarding Sites custom domain and SSO ? 

 

Thanks in advance,

1 answer
  1. Jan 1, 2024, 5:54 PM

    Hello @Oumaïma MITA Salesforce sessions works on the basis of domain name. So, if you have two sites with two different custom domains, then you should authenticate twice. This is not limitation this is how sessions are managed across salesforce platform. Thank you!

0/9000