Three or Four Ways In
이 콘텐츠는 아직 번역되지 않았습니다.
Module 2 of 5 in the chapter Customers and Partners, chapter 14 of Securing Salesforce: Identity and Access. Each module stands on its own.
The question this module answers: How many ways in does one org need, and who decides each one?
There’s never one way
Section titled “There’s never one way”People sometimes ask me which way should we log people in to Salesforce, as if there were one answer. There isn’t. Admins keep their direct login as a backup plan. Staff come in through the company’s identity provider. Customers either get a login on the site, or we decide to allow social sign-on. It’s usually a blend. There’s never one way. There’s usually three or four ways of authentication with Salesforce.
So the real question isn’t “which way?” It’s “which way for whom?” And there’s a second question hiding behind it, the one from chapter 4: when this person should no longer get in, who switches them off?
The site’s login page
Section titled “The site’s login page”Module 1 said outsiders come in through a site, and only sites they’re members of (S5). So the place where all of this is decided is the site’s login page.
You set it up in the site’s Workspaces, under Administration, then Login & Registration (S7). In class I describe what the person sees: you land on the community login, and it says log in, register, or go through social. Here’s how each piece gets there.
- The page itself. Under Login Page Setup you choose its type: the Default Page, a Login Discovery Page for passwordless login, an Experience Builder page you brand, or a Visualforce page, on Aura sites only (S7). Branding it and passwordless are chapter 15.
- The site’s own login. “By default, users log in to the site using the default site username and password” (S7).
- Single sign-on buttons. “To allow users to log in with single sign-on (SSO) from an authentication provider or SAML identity provider, select an SSO option from the list” (S7). Each one has to exist first: “You must configure SSO options before they display on this page” (S7).
- Employees. One checkbox: “Allow employees to log in directly to an Experience Cloud Site”, for staff who are members of the site (S7).
- Registration. “Allow customers and partners to self-register”, on the same page. Module 4.
One page, and all the doors on it. Each one is a decision.
One org, a door for each
Section titled “One org, a door for each”Customers with a login of their own. The site’s username and password. Simple, and it works for anyone with an email address. But you own it now: the password resets, the lockouts, and the switching off. When she should no longer get in, you disable her user (module 5).
Customers who’d rather not have another password. Social sign-on, chapter 10: a button for Google, Apple or another provider, beside the site’s own login. She keeps her social account; it’s hers, not yours. What you switch off is her user on your site. And remember chapter 10’s point: a social login proves she controls that account, not who she is.
A partner’s people. Another company hires them and removes them. If that company has its own identity provider, let its people come in through it. Then when someone leaves the partner, the partner switches them off, and you don’t have to know. Module 3 builds this.
Staff. The company’s own people, through the company’s identity provider, chapter 6. Or, if they just need to use the site with their internal login, the checkbox that lets employees log in directly (S7). Either way, the company switches them off in one place.
And behind all four, the admins: a direct login, with MFA, as the backup plan for the day single sign-on breaks (chapter 2).
SAML or an auth provider?
Section titled “SAML or an auth provider?”For the single sign-on doors, Salesforce gives you two ways to plug in another provider. In its own words: “For single sign-on (SSO) authentication only, you can use SAML to configure your site as a service provider” (S9). And when the other company should also let the user reach its own data, not just prove who they are, Salesforce points you to an authentication provider instead, with the site as the relying party (S9).
So the question is the one from chapter 5: do you only need her signed in, or do you also need to reach her data at the other provider?
- Only signed in: SAML, with the site as the service provider (chapter 6). Common for a partner company’s identity provider.
- Signed in, and her data there too: an auth provider, with OpenID Connect (chapter 10). Social providers work this way, and so do many partners’ identity providers today.
Either one becomes a button on the login page.
What each door costs you
Section titled “What each door costs you”Every door is something to own.
- The site’s own login: passwords to reset, accounts to lock, and MFA or passwordless to set up (chapter 15).
- Social sign-on: an auth provider per social provider, a registration handler, and matching people who already have a contact (chapter 10).
- A partner’s identity provider: one setting per partner, with its own certificate to renew, and just-in-time provisioning that makes contacts and finds accounts (module 3).
- Staff in directly: they must be members of the site (S7), and their access is still their internal user’s.
That’s why three or four is normal, and seven is a warning sign. Every door you add is one more to keep working, and one more place someone could be let in by mistake.
At Steve Trucking
Section titled “At Steve Trucking”Checkpoint 1 already drew these doors for Steve Trucking, so you’ve seen this blend before. Staff come in through Entra ID. Retail Partners, big companies with their own identity providers, bring their own into the partner site. Small carriers, with no identity system of their own, get site logins with MFA. Recipients follow a delivery with a tracking link, and those who want an account can use social sign-on. Four groups; a door for each; and for each, a clear answer to “who switches them off?”
Test knowledge. In my experience, be ready to choose the way in for each kind of external user: the site’s own login, social sign-on, or a partner’s identity provider, and to say why. Know that SAML only signs her in, and an auth provider can also reach her data at the provider.
What’s next
Section titled “What’s next”Module 3: partners bring their own. A partner company’s identity provider into your partner site, and the records it has to make.
What an architect decides here
Section titled “What an architect decides here”- The doors on each site, and which audience each one is for.
- Who switches each kind of person off, before anyone is let in.
- SAML or an auth provider, for each single sign-on door.
- How few doors you can manage with, and the admins’ backup login.
Explore
Section titled “Explore”- Configure Your Login Page (opens in a new tab) (Salesforce Help; checked 2026-11-21)
- Configure Your Experience Cloud Site as a Service Provider or Relying Party (opens in a new tab) (Salesforce Help; checked 2026-11-21)
