Pular para o conteúdo

Your Brand at the Door

Este conteúdo não está disponível em sua língua ainda.

Module 1 of 5 in the chapter The Login Experience, chapter 15 of Securing Salesforce: Identity and Access. Each module stands on its own.

The question this module answers: What does a customer see when she signs in, and who decides how it looks?

Picture Amara Nwosu, a customer from chapter 14, coming back to check an order. She types the address, and she lands on the site’s login page, the community login. It says log in, register, or go through social, and you’ve put the little social icons under the form.

That page is the first thing your company shows her, every time. Chapter 14 decided which doors are on it. This module is about how it looks, and who decides that.

The login page, and where each part is set The login page, and where each part is set. Logo, background, button color and footer text: set in Login & Registration, for Aura sites, while LWR sites use Experience Builder; the same look then covers every page, to log in, verify, reset a password, register, and login flows. The form, a password, or her email or phone first: set by the login page type, Default, Login Discovery, Experience Builder or Visualforce; marked: an Experience Builder page allows username and password only. Buttons for other logins, social, a partner, staff: set in Login Page Setup, single sign-on options chosen from a list, chapter 14; each one is set up first, then it appears in the list. A frame beside the form, an image or an announcement: set by the Right Frame URL, a page shown in an iframe; it must use HTTPS, like the site, or the browser won't show it. The address in the browser's address bar: set by a custom URL, your own domain for the site; marked: not in Developer Edition, only Enterprise, Performance and Unlimited. Footnote: an Experience Cloud site's login page, as Salesforce Help describes it, checked 2026-11-06. {"author": "Steve Simpson", "blueprint": "1.0.0", "builder": "standard 1.58.0", "built": "2026-11-06", "id": "DGM-IAM-LEX-01", "rights": "\u00a9 2026 Twinshark LLC. All rights reserved.", "template": "cells 0.5.0", "theme": "stevetecharc 1.4.0"} WHAT SHE SEES WHERE YOU SET IT KNOW THIS Logo, background, button color and footer text Login & Registration Aura sites; LWR sites use Experience Builder The same look on every page log in, verify, reset, register, login flows The form a password, or her email or phone first The login page type Default, Login Discovery, Experience Builder, Visualforce Experience Builder page username and password only Buttons for other logins social, a partner, staff Login Page Setup SSO options chosen from a list · ch 14 Each one set up first then it appears in the list A frame beside the form an image or an announcement Right Frame URL a page shown in an iframe HTTPS, like the site or the browser won't show it The address in the browser's address bar A custom URL your own domain for the site Not in Developer Edition Enterprise, Performance, Unlimited set in covers set in limit set in needs set in needs set in limit An Experience Cloud site's login page, as Salesforce Help describes it, checked 2026-11-06. HOW TO READ IT one place covers many pages a limit to plan for © 2026 Twinshark LLC · stevetecharc.com
Click to enlarge

The login experience is more than one page. There’s the login page, and also the page where she verifies her identity, the one where she resets her password, and the one where she registers. If you’ve built a login flow (the Front Door chapter), its screens are part of it too.

On the site’s Login & Registration page, in Workspaces, under Administration, you set the look once (S1):

  • Logo: a file you upload, or a URL where your brand assets live.
  • Background: a solid color, or an image URL.
  • Login button: one color, used for the Log In, Verify, Continue and Sign Up buttons.
  • Right Frame URL: optional, a page shown in an iframe beside the form, for a branded image or an announcement.
  • Footer text: a copyright line, for example.

And Salesforce applies it to “all types of pages for logging in, verifying identity, resetting passwords, and self-registration, except Experience Builder pages” (S1). Set it in one place, and every one of those pages matches.

One limit to plan for: this works for Aura sites. For an LWR site, you brand those pages in Experience Builder, unless the site was already branded from Login & Registration before Summer ‘23 (S1). And the right frame sits in an iframe, so its URL must use the same protocol as your site: HTTPS, in practice (S14).

The look is one choice. The kind of page is another. Under Login Page Setup, the login page type (S2):

  • Default Page. “A simple login page with basic styling,” and “complete control over its look and behavior with Visualforce and Apex.”
  • Login Discovery Page. For passwordless login, with an email address or a phone number. Here “the look of your page takes a backseat”: a basic page with your Login & Registration branding. Module 2.
  • Experience Builder Page. Drag the components, match the site’s theme. But “unlike the other page types, the Experience Builder page limits users to logging in with a username and password.” And you must publish the site first.
  • Visualforce Page. Built from scratch, for Aura sites, and LWR sites already set up that way before Summer ‘23.

So the most branded page is also the most limited. If you want her to sign in with an email and a code, or to be sent to her company’s identity provider, the Experience Builder page can’t do it. That’s a decision to make with the marketing team before they design the page, not after.

Some companies sell under more than one name. Do they need a site for each brand?

Not for the login. Salesforce’s dynamic branding puts a placeholder, {expid}, in the logo and right-frame URLs. The experience ID in the login link decides which brand she sees: https://…/{expid}_logo.png becomes the customer logo for one link and the employee logo for another (S3). In Salesforce’s words: “Dynamic branding is ideal for multi-brand companies. You can create a single login page that determines which brand appears at run time” (S3).

Your login links, or your login button, must set the experience ID, and Apex can read and set it with the System.Site methods getExperienceId and setExperienceId (S3). You can even send each brand to its own registration page (S3). Module 5 comes back to this: one login, many brands.

The look is on the page. The address is in the browser’s address bar, and that’s the part customers are told to check.

A site’s address starts as a Salesforce one, ending in my.site.com (chapter 14). To serve it from your own domain, set up the custom domain, then add a custom URL: “a domain, a custom path prefix, and a unique site path” (S4). Then login.example.com, or www.example.com/account, serves your site.

Plan for one thing: custom URLs are available in Enterprise, Performance and Unlimited Editions (S4). Not in a Developer Edition org, so the practice describes this step but can’t build it.

Branding sounds like marketing. It’s also a habit you teach your customers.

If the login page always has the same address, the same logo and the same look, a customer has a chance of noticing a page that doesn’t. If it moves between addresses, or looks different depending on how she got there, she learns that a strange-looking login page is normal. And a strange-looking login page is exactly what someone trying to steal her password would send her.

Test knowledge. In my experience, know how to customize the login experience for an Experience Cloud site: where branding is set, the login page types and what each one allows, and how one page can serve many brands.

Module 2: who are you? Login discovery and passwordless. A page that asks for her email first, and decides what comes next.

  • The login page type, before anyone designs the page.
  • Where branding is set: Login & Registration, or Experience Builder on an LWR site.
  • One site per brand, or one login page with dynamic branding.
  • The site’s own address, and that it never changes.