Hoppa till innehåll

Study guide

Det här innehållet är inte tillgängligt på ditt språk än.

Study guide for chapter 15 of the Securing Salesforce: Identity and Access course. Read the five modules first; this page helps you check what stuck.

About this study guide. It’s built only from this course’s own content and the published Salesforce exam guide’s list of objectives. It is never based on real exam questions, and it doesn’t claim to know what’s on the exam. If you’ve taken the exam, please don’t send me questions from it: the certification agreement forbids sharing them, and memorizing answers is the wrong way to become an architect anyway.

This chapter carries three of the Identity and Access Management Architect exam’s objectives: customizing the login experience for a site, and when to use embedded login (Community, Partner and Customer, 18% of the exam); and whether Customer 360 Identity fits a full Customer 360 (Salesforce Identity, 12%). The exam guide aligns to Summer ‘23. Since then, embedded login has been disabled by default (Summer ‘24), and Salesforce Help now calls the product Salesforce Customer Identity. Check the exam guide’s current version before you book.

Tick them off as you go. Each one links to where it’s taught.

The page she sees (supports COM-1)

  • I know what Login & Registration branding sets, the pages it covers, and that LWR sites use Experience Builder. (One look, on every page)
  • I know the four login page types, and that the Experience Builder page allows only a username and password. (Which kind of page)
  • I know how dynamic branding with the experience ID serves many brands from one page. (One page, many brands)
  • I know a custom URL puts the site on the company’s own domain. (An address that’s yours)

Who are you? (supports COM-1)

  • I know what a Login Discovery page does, and what its handler decides. (What the handler decides)
  • I know passwordless login sends a code to a verified email or phone, and what it trades. (Passwordless)
  • I know MFA is optional for external users, and turned on by a permission on their custom profile. (MFA for customers)

Who owns the screen (supports COM-4)

The product and the whole (supports SID-2)

  • I know Customer 360 Identity is today’s Salesforce Customer Identity, on the External Identity or a Community license. (The names, with dates)
  • I can recommend how one customer login serves many brands, sites and orgs: dynamic branding, or a hub and spokes. (One login, many orgs)

The exam is the floor, not the ceiling. These are the habits from this chapter that an architect needs, whether or not a question ever asks about them.

  • Ask “who owns the screen?” before anyone designs a login.
  • Choose the page type before the design, because it decides what the page can do.
  • One address and one look, every time; never change the site’s address once customers know it.
  • A system user for Execute Login As.
  • Treat her inbox as part of your security once you go passwordless; ask for more before the risky step.
  • Never let an order number prove who she is. It may find her; the code to her verified email proves it.
  • A replacement plan for any embedded login still running.
  • Watch the hub’s certificate, because every spoke depends on it.
TermIn one line
Login & RegistrationThe site’s page for branding, the login page type and self-registration
Experience ID (expid)A value that picks the brand on one login page at run time
Custom URLThe site on the company’s own domain
Login Discovery pageA login page that asks for an email or phone first, then decides what comes next
Login Discovery handlerThe Apex that decides: a code, a password, or another identity provider
Execute Login AsThe user the Login Discovery handler runs as
Passwordless loginA code to a verified email or phone, instead of a password
Headless identityThe company’s own screens, with Salesforce’s identity behind them through APIs
Authorization Code and Credentials FlowThe OAuth flow under headless: the app sends what she typed, and gets a code back
Private client / public clientAn app with a server that can keep a secret / one that can’t, in a browser or a phone
Embedded loginA Salesforce login box on the company’s own web page; off by default since Summer ‘24
Salesforce Customer IdentityToday’s name for Customer 360 Identity
Hub and spokeOne org or site is the identity provider; the others trust it

Short scenarios in the style of the course. Decide your answer before you open it.

1. A team builds the site's login page in Experience Builder to match the site's theme. Then the business asks for a code by email instead of a password. What's the problem?

The Experience Builder page allows only a username and password. Passwordless needs a Login Discovery page, so the page type has to change. Choose the page type before anyone designs the page. Reread Which kind of page.

2. A company runs four brands on one org. Each brand wants its own logo on the login page. Four sites?

Not necessarily. One site and one login page, with the experience ID in the logo URL, picks the brand at run time. Salesforce calls dynamic branding “ideal for multi-brand companies.” Reread One page, many brands.

3. On a Login Discovery page with the default handler, a customer types an email that isn't verified. What happens?

The handler asks for a password instead of sending a code. Verification at sign-up is what makes passwordless possible. Reread What the handler decides.

4. Customers can change their bank details on a site that uses passwordless login. The security team is worried. What would you suggest?

Whoever controls her inbox can log in as her. Ask for more before the risky step: MFA, through a permission on the custom profile, or step-up before the change. Reread What passwordless trades and MFA for customers.

5. A single-page web app wants headless passwordless login. A developer plans to store an integration user's token in the app for the first call. What's wrong?

A single-page app is a public client: anything in the browser can be read. It should use reCAPTCHA, and never hold a secret or a token. Authentication is for private clients, with a server. Reread Whoever owns the screen owns the guard.

6. A company's web shop asks customers to log in before they pay, without leaving the shop's page. An old design document says "embedded login." What do you recommend today?

Embedded login is disabled by default since Summer ‘24 and depends on third-party cookies. For new work, redirect to the site’s login page with an OAuth flow such as the web server flow, or go headless if the shop must own every screen. Reread Redirect, headless or embedded.

7. After an acquisition, a company has three orgs, each with its own customer site. It wants one login for customers across all three. How?

Make one org or site the hub, the identity provider, and set up the others as service providers that trust it: Salesforce’s hub and spoke. Each spoke still needs a user for her, made ahead or by just-in-time. Reread One login, many orgs.

The official list of objectives and their weights. Always check the current version before you book an exam.