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
| Population | Design |
|---|---|
| Employees | Corporate IdP โ SAML SSO to the internal org; SCIM provisioning and deactivation; permission set groups from attributes; break-glass admins |
| Partners | Experience Cloud partner site; partners with their own IdP federate (SAML/OIDC, one config per large partner); others use Salesforce logins with MFA |
| Customers | Experience 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 app | Web server flow + PKCE against the customer site; refresh token policy; step-up verification for sensitive actions |
| Systems | External 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.