इसे छोड़कर कंटेंट पर जाएं

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?

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?

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.

A door for each kind of person A door for each kind of person, and who switches them off. Customers who'd like a login of their own come through the site's own login, username and password, the default; you switch them off by disabling her user. Customers who'd rather not have another password come through social sign-on, an auth provider such as Google or Apple, chapter 10; you switch them off for this site, and her social account stays hers. A partner's people, whom another company hires and removes, come through the partner's identity provider, with SAML or OpenID Connect, module 3; the partner switches them off when they leave the partner. Staff, the company's own people, come through the company's identity provider, or employees are allowed in directly; the company switches them off, in one place, chapter 4. Footnote: all four can be buttons on one site's login page; each single sign-on option is set up first, then chosen from the list. {"author": "Steve Simpson", "blueprint": "1.0.0", "builder": "standard 1.58.0", "built": "2026-11-06", "id": "DGM-IAM-EXU-02", "rights": "\u00a9 2026 Twinshark LLC. All rights reserved.", "template": "cells 0.5.0", "theme": "stevetecharc 1.4.0"} WHO THE DOOR WHO SWITCHES THEM OFF Customers who'd like a login of their own The site's own login username and password; the default You disable her user Customers who'd rather not have another password Social sign-on an auth provider: Google, Apple · ch 10 You, for this site her social account stays hers A partner's people another company hires and removes them The partner's identity provider SAML or OpenID Connect · module 3 The partner when they leave the partner Staff the company's own people The company's identity provider or employees allowed in directly The company one place to switch them off · ch 4 through removed by through removed by through removed by through removed by All four can be buttons on one site's login page. Each SSO option is set up first, then chosen from the list. HOW TO READ IT switched off where they're managed © 2026 Twinshark LLC · stevetecharc.com
Click to enlarge

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).

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.

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.

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.

Module 3: partners bring their own. A partner company’s identity provider into your partner site, and the records it has to make.

  • 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.