Single Sign-On: The Browser Is the Broker
Chapter 4 of Securing Salesforce: Identity and Access, Part 1: Who Are You? New to the course? Start with chapter 1.
Here’s the question for this chapter. Priya uses three systems at work, with three usernames and three passwords. Why would her company put one system in charge of all her logins, and how does that system get her into Salesforce if the two of them never talk to each other?
Chapter 2 was the front door: how Salesforce checks who you are. Chapter 3 was trust: keys, certificates and signatures. This chapter puts them together. Single sign-on moves the front door to one place, the identity provider, and uses a certificate so that Salesforce can believe what it says. And it all happens through one actor you might not expect: the browser.
The ideas in this chapter
Section titled “The ideas in this chapter”- Every system has its own guard. For each system there are two servers: the login server, which checks who you are and gives you a session, and the resource, which only checks the session.
- One place to prove who you are. With single sign-on, people sign in once, at the identity provider, and every service provider trusts it. Fewer passwords, so they can be stronger; one place for the rules, the MFA and the reset; one switch when someone leaves.
- One front door matters more. If the identity provider is down or fooled, every system behind it is too.
- Know the cast. The browser, the identity provider, the identity store behind it, and the service provider with its own two servers. Active Directory is an identity store, not an identity provider.
- Whichever system shows the login screen is the identity provider. There should be only one.
- The browser is the broker. Every step of single sign-on is a redirect: the server answers the browser, and the browser makes the next call. The identity provider doesn’t get Priya into Salesforce; Salesforce’s own login server does.
- Draw it as a swim lane. One lane per actor, time running down the page, each call with its answer.
- There’s no arrow between them. Salesforce trusts the identity provider through a certificate an admin installed once, and checks every signed SAML response on the spot. An arrow between the identity provider and Salesforce on a login diagram is wrong.
- Certificates expire, so trust does too. Replacing the identity provider’s certificate is a job for both sides at once.
- Keep a back door. A few admins keep a direct login with phishing-resistant MFA, because when single sign-on breaks, someone has to get in to fix it.
- SAML is what the browser carries. The service provider writes the request; the identity provider answers with a signed response, and the assertion inside says who Priya is, who it’s for, and when it’s valid.
- Five questions before Priya gets in. Is the signature valid, did it come from our identity provider, is it for us, is it within the time window, and who am I logging in? Salesforce adds a sixth, have we seen it before, and each no has its own name in Login History.
The picture
Section titled “The picture”Here’s the picture the chapter turns on: one login, hop by hop, as a swim lane. Count the calls between the identity provider and Salesforce. There are none.
Every call starts at Priya’s browser, and every answer comes straight back to it. When you see a system landscape with an arrow between the identity provider and Salesforce, that’s not correct. There’s an installed certificate, but no call. That one idea settles more single sign-on arguments than any setting.
The path through this chapter
Section titled “The path through this chapter”Six modules, each standing on its own.
-
One Person, Many Logins. Every system has its own guard; Priya’s three names; what too many passwords cost, and the keyboard I turned over; the identity provider and the service provider; why companies do it, and the catch.
-
The Actors. The browser, the identity provider, the identity store, and the service provider with its two servers; how many directories you have; counting the services behind one login; the login screen test; and Salesforce in either part.
-
The Browser Is the Broker. The flicker and the redirects; the tennis match and the swim lane; one login, hop by hop; how the SAML request and response travel; the callback URLs; and the second login, the “single” in single sign-on.
-
No Arrow Between Them. Who trusts whom; a certificate, installed once; every login checked on the spot; trust in the other direction; the wrong diagram and the trouble it causes; provisioning, the only direct line; and when the certificate changes.
-
Keep a Back Door. The day it breaks, including the clocks; who must have a local login; the switch and who it leaves out; three more ways the door can close; protecting the back door; testing with a user, not an admin; and the checklist.
-
What the Browser Carries. What SAML is; who writes the request; the response as a sealed letter in an envelope, and the assertion inside; five questions before Priya gets in, and Salesforce’s name for each failure; why the times are there; what a response is worth by itself; and the auto mechanic.
The order is the order a login happens in. Why one door, who the players are, how the browser carries Priya between them, why Salesforce believes the answer, what to do on the day it doesn’t work, and what’s inside the message the browser carries.
Then build it yourself. The practice has you set up two free Salesforce orgs, one as the identity provider and one as the service provider, ready to connect in chapter 7. And check what stuck with the study guide.
What an architect decides here
Section titled “What an architect decides here”- Which systems go behind the identity provider, and which can’t, and why.
- Who owns the identity provider: an owner, a support plan and its own security review.
- The identity provider and the identity store, named on every diagram, and how many directories sit behind them.
- Which part Salesforce plays: service provider, identity provider, or both.
- Every address in the relationship: where each side sends the browser, and where each receives it.
- What users see first: Salesforce’s login page with a button, or straight to the identity provider.
- Every certificate: whose it is, where it’s installed, who renews it and when.
- Whether Salesforce signs its requests, and whether the identity provider encrypts its assertions.
- Who keeps the back door, how it’s protected and watched, and how it’s tested.
- Which values each side expects in the SAML messages, what gets signed and how, and where to look first when a login fails.
Beyond the exam: what AI changes. Single sign-on is built for a person in a browser: a login screen to type at, and redirects to follow. An agent has neither. When an agent acts for Priya, it doesn’t flicker through the identity provider’s login page; it needs a different mechanism, built on tokens, and chapter 5 starts choosing between them. What carries over is this chapter’s question: who proves who this is, and who trusts that proof, and why? Chapter 17 asks it for agents.
Explore
Section titled “Explore”Each module lists its own sources, each checked 2026-11-07. Two to start with:
- SAML SSO with Salesforce as the Service Provider (opens in a new tab), Salesforce Help (Winter ‘27; checked 2026-11-07)
- Require Users to Log In with Single Sign-On (SSO) (opens in a new tab), Salesforce Help (Winter ‘27; checked 2026-11-07)
