İçeriğe geç

Identity Is a Strategy

Bu içerik henüz dilinizde mevcut değil.

Module 1 of 5 in the chapter Identity Strategy and Design Review, chapter 18 of Securing Salesforce: Identity and Access. Each module stands on its own.

The question this module answers: What does a company’s identity design look like on one page?

When people ask me how a company should sign in to Salesforce, they usually want one answer. Single sign-on through Okta. Or Salesforce logins with MFA. One door, done.

It’s never one door. In class I put it this way: there’s never one way, there’s usually three or four ways of authentication with Salesforce. Staff come in through the company’s identity provider. Admins keep a local login, the back door. Customers sign in on a site, maybe with a social account. Integrations come in with no person at all. And now agents, acting for any of them.

So an identity strategy isn’t a choice of product. It’s a list of groups, and for each group, a decision. Chapter 7 gave you the four questions to ask about each group. This chapter puts all the answers on one page, and then asks you to defend that page.

Here’s the shape I’d hand a CIO. One row for every group of people and systems that touches Salesforce, and five columns:

  • Who. Staff, admins, partners, customers, crews, integrations, agents. Be specific: “partners” may be two groups if some bring an identity provider and some don’t.
  • The door. Which mechanism: single sign-on with SAML or OpenID Connect, a site login, social sign-on, an OAuth flow, an agent’s running user. Chapter 5’s map, chapter 17’s table.
  • Who vouches. The identity provider: the company’s own, a partner’s, Salesforce itself.
  • Who switches them off. The one place that removes access when someone leaves (chapter 12). If the answer is “three places,” write all three down, and expect one to be forgotten.
  • The back door, or the exception. Who can still get in when this door fails, and how that’s protected and audited.

That’s it. One page. It sounds too simple, and it’s the page most companies don’t have. They have a single sign-on setting someone made in 2019, a dozen connected apps, a site somebody else built, and an integration user whose password nobody wants to change.

Salesforce’s own Well-Architected guidance gives you the defaults to start the page with: “For single sign-on (SSO), SAML 2.0 or OpenID Connect protocols are preferred,” with “strong IdP authentication”; MFA for every login to production through the user interface; and for integrations that use the JWT bearer or client credentials flow, which Salesforce exempts from MFA, certificates and IP restrictions instead (S4). Module 4 turns that guidance into a review checklist.

In chapter 5, I showed you a map of every way to sign in, in nine sets, and said the rest of the course would fill it in. At the end of Part 2, most of it was blue. Here it is at the end of the course: every card in the same place, and every card taught.

The map at the end of the course The map at the end of the course: every way to sign in, in nine sets, all taught, in blue. Logging in to Salesforce: username and password, multi-factor authentication, and passwordless and headless login for customers, chapter 15. Single sign-on into Salesforce, all four ways. Salesforce as the identity provider, with SAML, OpenID Connect and Salesforce to Salesforce. A person through an app: the web server flow with PKCE, the refresh token flow and token exchange. A process as the integration user: client credentials. A process as a chosen person: JWT bearer, SAML bearer assertion and SAML assertion. Devices and things: the device flow and the asset token. Getting users in and out: just-in-time provisioning, the registration handler and provisioning to other apps. Agents, chapter 17: the agent as the logged-in user, a minimal agent user, and across agent hops. Retiring, in amber: the user-agent flow, the username-password flow and SOAP API login(). {"author": "Steve Simpson", "blueprint": "1.0.0", "builder": "standard 1.61.0", "built": "2026-11-25", "id": "DGM-IAM-IST-01", "rights": "\u00a9 2026 Twinshark LLC. All rights reserved.", "template": "cells 0.5.0", "theme": "stevetecharc 1.5.0"} THE SET: WHO SIGNS IN, AND HOW THE MECHANISMS Logging in to Salesforce Salesforce checks who you are Username and password the first factor · ch 2 Multi-factor authentication a second proof · ch 2 Passwordless and headless customers, your own screens · ch 15 Single sign-on into Salesforce another system checks who you are SAML, started at Salesforce SP-initiated · ch 4, 6 SAML, started at the IdP IdP-initiated · ch 6 OpenID Connect and social sign-on through an auth provider · ch 10 Delegated authentication Salesforce asks your system · ch 10 Salesforce as the identity provider other apps trust Salesforce SAML identity provider Salesforce signs the assertion · ch 7 OpenID Connect provider Salesforce as the login · ch 7, 9 Salesforce to Salesforce one org signs in to another · ch 7 A person, through an app OAuth, with the person there Web server flow with PKCE the one to learn · ch 5, 8, 9 Refresh token flow no new login each time · ch 13 Token exchange flow from a central identity provider · ch 11 User-agent flow retiring 2027-02-20 · ch 9 A process, as the integration user OAuth, no person there Client credentials flow one user per integration · ch 5, 8, 11 Username-password flow retiring 2027-02-20 · ch 5, 8 SOAP API login() retiring Summer '27 · ch 13 A process, as a chosen person OAuth, acting for someone JWT bearer flow the golden pass · ch 5, 11 SAML bearer assertion flow an assertion from a trusted IdP · ch 5, 11 SAML assertion flow for orgs already on SAML · ch 11 Devices and things the device starts it Device flow a code on another screen · ch 5, 9 Asset token flow connected things · ch 5, 11 Getting users in and out provisioning Just-in-time provisioning a user made at first login · ch 12 Registration handler create user, update user · ch 10, 12 User provisioning to other apps and taking it away · ch 12 Agents AI acting for someone Agent as the logged-in user employee agents · ch 17 A minimal agent user customer agents · ch 17 Across agent hops on behalf of, and tools · ch 17 HOW TO READ IT taught in this course, chapters 2 to 17 retiring: still in orgs, not for new work © 2026 Twinshark LLC · stevetecharc.com
Click to enlarge

Your strategy page uses only a few of these cards. That’s the point. The map shows every door Salesforce has; the strategy says which ones your company opens, for whom, and which stay shut. Three are amber for a reason: they’re retiring, and a strategy that still depends on one of them has a date in it. The two OAuth flows retire on February 20, 2027 (chapter 1, module 4); SOAP API login() retires in Summer ‘27 (chapter 13, module 4). Put those dates on the same calendar as your certificates (chapter 16, module 4).

If someone asks you how the common authentication patterns differ, the map’s first column is your answer. Each set differs in one thing: who checks who you are, and who’s there.

  • Logging in to Salesforce. Salesforce checks, with a password, MFA, or a code.
  • Single sign-on into Salesforce. Another system checks, and Salesforce trusts what it says.
  • Salesforce as the identity provider. Salesforce checks, and another system trusts it.
  • A person through an app. The person checks in once and approves; the app gets a token, not their password.
  • A process as the integration user. Nobody’s there; the app proves it’s itself.
  • A process as a chosen person. Nobody’s there; the app proves it may act for a named person.
  • Devices and things. The person approves on another screen, or the thing has its own token.
  • Getting users in and out. Not a login at all: who makes the user, and who removes it.
  • Agents. Any of the above, plus a second question: who is it acting for?

Same few questions every time. That’s why a swim lane works for all of them, and module 4 uses it to review a whole design.

Test knowledge. In my experience, be ready to describe the common authentication patterns and how they differ: who checks who you are, whether a person is there, and what the app ends up holding. Know which one fits a given group.

Module 2: when companies join. The strategy page is calm until the company buys another one, with its own identity provider.

  • The groups, each one named, none forgotten.
  • For each group: the door, who vouches, who switches them off, and the exception.
  • Which doors stay shut, and which retiring ones must be gone by their date.
  • Who owns the page, and how often it’s checked against the org.