Salesforce as the Identity Provider
Chapter 7 of Securing Salesforce: Identity and Access, Part 2: Accepting and Providing Identity. New to single sign-on? Start with chapter 4, then chapter 6.
For three chapters, Salesforce has been the one doing the trusting. Priya signs in at the company’s identity provider, and Salesforce lets her in on its word.
Salesforce can also sit in the other seat. It can be the one that vouches. This chapter puts it there, with two Salesforce orgs: one vouches, the other trusts, and Priya signs in once and goes from one to the other. Then it widens out: apps that aren’t Salesforce, and how to decide who should vouch for whom at all.
The ideas in this chapter
Section titled “The ideas in this chapter”- The same five steps, from the other seat. Only the login screen moves: it’s Salesforce’s own, in the identity provider org.
- The keys change hands. Salesforce signs with its private key, and the service provider holds Salesforce’s certificate.
- Salesforce should vouch where it already knows the people, and not for staff who already sign in to a corporate identity provider.
- The dance: one org, then the other, then back, because each side needs values only the other has.
- For SAML, the service provider is registered in files, a SAML external client app, deployed with the Metadata API. New connected apps need a request to Salesforce Support.
- The
certificatefield is the service provider’s, and it only checks its signed requests. - Two questions prove it worked: which org am I in, and who am I logged in as? The Federation ID is the secret sauce.
- SAML, OpenID Connect or an Experience Cloud site: what Salesforce sends depends on what the other app speaks, and who the people are.
- It’s usually a blend: three or four ways of signing in, and the right identity provider for each group.
The picture
Section titled “The picture”Here’s the chapter’s main picture: chapter 6’s swim lane, in the same cells, with Salesforce in the identity provider’s lane.
The path through this chapter
Section titled “The path through this chapter”Six modules, each standing on its own, and a practice.
- The Other Seat Turn it around; the same five steps; who holds what; the clock; when Salesforce should vouch, and when it shouldn’t; two ways to vouch.
- The Dance Before the dance; seven steps, two orgs; why back and forth; what changed since I filmed it.
- Registering the Service Provider Today What the identity provider needs; two ways to register it; three small files; the SAML file, value by value; the one people get wrong; who may go.
- The First Login, Watched A clean window; two questions; what Salesforce wrote; starting at the identity provider org; when it doesn’t work.
- Beyond Salesforce SAML for any app; OpenID Connect, the other way in; an Experience Cloud site; logging out everywhere; how to choose.
- Choosing the Identity Provider The question I always get; it’s usually a blend; four questions for each group; Steve Trucking, from the identity provider’s seat.
Then the practice: connect your two orgs, and log in from one to the other.
Check what stuck with the study guide.
What an architect decides here
Section titled “What an architect decides here”- Whether Salesforce should vouch at all, or be one more service provider behind the company’s identity provider.
- Which org is the identity provider: production, not a sandbox that gets refreshed.
- The subject type, and the one value both sides keep for each person.
- External client app or connected app: new work in an external client app, and a plan for the connected apps you have.
- Who may go, by permission set.
- Where the files live, and who can read them in an outage.
- SAML or OpenID Connect for each other app, and the identity provider for each group of people.
Beyond the exam: what AI changes. An agent acting for Priya in the service provider org gets there with her session, not one of its own, so who she is in that org decides what her agent can reach. Chapter 17 takes it further.
Explore
Section titled “Explore”Each module lists its own sources, each checked 2026-11-07. Two to start with:
- Salesforce as an Identity Provider (opens in a new tab) (Salesforce Help, Winter ‘27; checked 2026-11-07)
- Integrate Service Providers as SAML-Enabled Apps (opens in a new tab) (Salesforce Help, Winter ‘27; checked 2026-11-07)
Next: OAuth: The Base Pattern.
