Walk me through how SAML SSO works when an employee opens Salesforce.
Your confidence:Not rated
Model answer
- The employee opens the My Domain URL (or a deep link to a record).
- Salesforce (the service provider) redirects the browser to the corporate IdP with a SAML request.
- The IdP authenticates the user (with MFA) or reuses an existing IdP session.
- The IdP returns a signed SAML assertion through the browser to Salesforce's ACS URL.
- Salesforce validates the signature with the IdP certificate, checks audience, issuer and validity time, and finds the user by Federation ID.
- If JIT provisioning is on, it creates or updates the user from the assertion attributes.
- A Salesforce session starts and the user lands on the requested page.
Architect add-ons: break-glass admin login, certificate rotation, deprovisioning through SCIM or HR feeds (JIT never deactivates), and separate login configuration for Experience Cloud sites.
โ Key points to hit
โ Red-flag answers
- Saying Salesforce checks the user's password
- No mention of the certificate
- Forgetting deprovisioning
โช Follow-ups
What usually breaks SAML logins?
Expired or rotated IdP certificates, clock skew, wrong entity ID or ACS URL, Federation ID mismatches, and assertion attributes changing after IdP updates.
How do deep links work with SSO?
With SP-initiated SSO, Salesforce stores the requested URL (relay state) and returns the user there after the assertion is validated.