ID-Q05Design AdvancedIdentity & SSO#architecture#identity#sso

Design identity for a company with employees, partners and two million customers using Salesforce, a portal and a mobile app.

Your confidence:Not rated

Model answer

PopulationDesign
EmployeesCorporate IdP โ†’ SAML SSO to the internal org; SCIM provisioning and deactivation; permission set groups from attributes; break-glass admins
PartnersExperience Cloud partner site; partners with their own IdP federate (SAML/OIDC, one config per large partner); others use Salesforce logins with MFA
CustomersExperience Cloud site as identity provider (or a dedicated CIAM product with Salesforce as SP); social sign-on and passwordless login; registration handler matches verified emails
Mobile appWeb server flow + PKCE against the customer site; refresh token policy; step-up verification for sensitive actions
SystemsExternal Client Apps with JWT bearer or client credentials; dedicated integration users

Cross-cutting: MFA everywhere it's possible (at the IdP for SSO users); deprovisioning SLAs; monitoring of login and API events; certificate rotation; capacity and licence planning for customer logins.

โœ” Key points to hit

โœ– Red-flag answers

  • One login method for everyone
  • Customers in the employee IdP
  • No deprovisioning plan

โ†ช Follow-ups

When would you use a dedicated CIAM product instead of Experience Cloud identity?

When customer identity spans many non-Salesforce applications, needs advanced consent or fraud features, or volumes and costs favour it. Salesforce then acts as a service provider to the CIAM.

How do partner users get deactivated when they leave the partner company?

Federated partners deprovision through their IdP (blocking login) plus a periodic sync or partner admin process to deactivate Salesforce users; delegated partner admins can also deactivate their own users.