Skip to content

Choosing the Identity Provider

Module 6 of 6 in the chapter Salesforce as the Identity Provider, chapter 7 of Securing Salesforce: Identity and Access. Each module stands on its own.

The question this module answers: Salesforce, Microsoft Entra ID, Okta: who should vouch for whom?

Once people have built the dance, they ask the obvious question. Salesforce can be an identity provider. So should it be ours? Or should we use Okta, or Entra ID, or whatever we’ve got?

My answer starts with a question back: does the customer already have one? If the company already runs Okta or Entra ID, and everyone signs in to it every morning, then you should use it. Salesforce becomes another service provider behind it, as in chapter 6.

Why? Because the identity provider should be the system that already knows the people. It’s where their password and MFA live, where they’re added when they join, and where they’re switched off when they leave. Put a second identity provider beside it for the same people, and you’ve got two places to switch someone off, and one day someone will be missed.

But that answer is only for one group of people. A company doesn’t have one group. Here’s what I see in most projects.

  • Staff sign in through the company’s identity provider: the internal Okta, the Entra ID.
  • Admins keep their direct Salesforce login, with MFA, as the backup plan: the back door from chapter 4, module 5.
  • Partners and customers, the people on an Experience Cloud site, either have Salesforce logins on the site, or you decide whether to let them use a social sign-on, like a Google account (chapter 10).

So it’s usually a blend. There’s never one way. There’s usually three or four ways of signing in to Salesforce, and that’s normal. The architect’s job isn’t to pick one identity provider. It’s to pick the right one for each group, and to know where each line goes.

When I’m deciding who should vouch for a group of people, these are the questions I ask.

  1. Who already knows them? Where are their accounts today? That system is usually the right identity provider. Don’t make people a second password if a first one already works.
  2. Who switches them off? When someone leaves, which system does the business change first? The identity provider should be that system, so leaving is one switch.
  3. What else do they need to reach? If it’s only Salesforce, Salesforce’s own logins can do it. If it’s Salesforce and five other apps, the identity provider should be the one that can vouch into all of them.
  4. What does it send? Can the identity provider sign both the response and the assertion, with SHA-256, and tell Salesforce how the person signed in, with MFA (chapter 6, module 4)? If not, that’s a conversation before you choose it, not after.

Look at the third question again. That’s where Salesforce as the identity provider earns its place. When Salesforce is the system that already knows the people, and they need something beyond Salesforce, Salesforce can vouch for them onward.

  • Other orgs. Your production org vouches for the other orgs your people work in (module 1).
  • People who live on a site. Partners and customers with Salesforce logins on an Experience Cloud site, who need another app too (module 5, and chapter 14).
  • A company with nothing else. A small company that runs on Salesforce, with a few other apps and no identity provider of its own.

And where Salesforce shouldn’t vouch: for staff who already sign in to a corporate identity provider every morning. They have one already.

Steve Trucking, from the identity provider’s seat

Section titled “Steve Trucking, from the identity provider’s seat”

In chapter 5’s checkpoint, you chose a door for each group at Steve Trucking. Now ask the question from this chapter’s seat: who vouches for each group?

It's usually a blend: who vouches for whom Three columns: who, who vouches for them, and what they reach. Staff sign in at Microsoft Entra ID, the company's identity provider, which vouches for them into the org and the other work apps. Two admins, never on single sign-on, sign in to Salesforce itself, a local login with MFA, the back door, which lets them into the org. Retail Partner users sign in at their own retailer's identity provider, which vouches for them into the partner site, an Experience Cloud site. Small carriers, most with no identity system, sign in with Salesforce-managed logins on the partner site, which lets them in. In amber, a labelled what if: Salesforce vouches onward for the carriers, as the identity provider, into another app for carriers. Footnote: four groups, four identity providers; Salesforce vouches where it already knows the people. {"author": "Steve Simpson", "blueprint": "1.0.0", "builder": "standard 1.58.0", "built": "2026-11-04", "id": "DGM-IAM-IDP-04", "rights": "\u00a9 2026 Twinshark LLC. All rights reserved.", "template": "cells 0.5.0", "theme": "stevetecharc 1.4.0"} WHO WHO VOUCHES FOR THEM WHAT THEY REACH Staff dispatch, finance, account managers Microsoft Entra ID the company's identity provider · ch 6 The org and the other work apps Two admins never on single sign-on Salesforce itself a local login with MFA: the back door · ch 4 Retail Partner users staff of the big retailers Their own identity provider one for each retailer · ch 10, 14 The partner site an Experience Cloud site Small carriers most have no identity system Salesforce, on the partner site Salesforce-managed logins · ch 14 What if: another app for carriers Salesforce vouches onward, as the identity provider signs in vouches signs in lets them in signs in vouches signs in lets them in vouches Four groups, four identity providers. Salesforce vouches where it already knows the people. HOW TO READ IT who vouches a labelled what if, not part of the story © 2026 Twinshark LLC · stevetecharc.com
Click to enlarge

Staff: Entra ID. It came with the company’s Microsoft 365, and everyone signs in to email with it. Entra ID already knows them and already switches them off. Salesforce is a service provider behind it (chapter 6).

Two admins: Salesforce itself. A local login with MFA, never on single sign-on. If Entra ID has a bad day, they can still get in and fix it.

Retail Partner users: their own identity provider. Each big retailer brings its own, and the partner site trusts each one separately. Steve Trucking doesn’t vouch for another company’s staff; their own company does (chapters 10 and 14).

Small carriers: Salesforce. Most of them have no identity system at all. Some are a family and three trucks. Salesforce knows them, through their logins on the partner site, and nobody else does (chapter 14).

That’s four groups and four identity providers, and Salesforce is one of them. Count Steve Trucking’s crews, recipients and services from chapter 5 too, and you’ll see why I say there are usually three or four ways, or more.

What if the carriers also needed another app, a tool for planning their loads, say, that isn’t Salesforce? Look at the four questions. Who already knows them? Salesforce. Who switches them off? Salesforce, when a carrier’s login is removed from the site. So Salesforce would vouch for them, as the identity provider, into that app, with SAML or OpenID Connect, whichever the app speaks (module 5). That’s the amber card: a “what if”, not part of the story.

One more pattern you’ll meet. Staff sign in at Entra ID, which vouches for them into Salesforce. Then Salesforce, as an identity provider, vouches for them into a third app. A chain: Entra ID, then Salesforce, then the app.

My rule: don’t chain it. Register the third app with the company’s identity provider directly. Go back to the four questions. Who already knows these people? Entra ID. Who switches them off? Entra ID. So Entra ID should vouch for them into every app they use, and Salesforce stays one of those apps, a service provider beside the third app, not in front of it. One identity provider for staff, and one place to switch them off.

Salesforce vouches onward for the people only Salesforce knows, like the carriers above. For staff, the company’s identity provider already does the job.

You’ve now seen Salesforce in both seats: the service provider in chapter 6, the identity provider here. The other app trusts Salesforce, Salesforce holds the private key and signs, and the Federation ID links the two Priyas. And you know when to put Salesforce in that seat, and when to leave it where it is.

The next chapters move from single sign-on to OAuth: how an app, not a browser, gets to Salesforce data. Chapter 8 starts with the base pattern at a food festival.

  • The identity provider for each group of people, using what the customer already has.
  • The back door: who keeps a direct login, and how it’s protected.
  • Where Salesforce vouches onward, and for whom.
  • One place to switch each person off, written down for each group.