OBLYTECH Logo
OBLYTECH Logo

Salesforce Experience Cloud Login Options

Salesforce Experience Cloud login can use a site username and password, SAML single sign-on, a third-party authentication provider, or passwordless verification. Pick the route by who owns the external user’s identity and recovery process. Then set up the site’s Login & Registration experience, verify account matching, and test the route as an external user.

Choose a Salesforce Experience Cloud login route by audience

Start with the people who use the portal. An occasional customer, a partner employee, and a customer administrator may each have a different identity setup. If you list login buttons before you grasp those setups, people may have to choose between credentials they do not know.

  • Username and password: consider this when users need a site credential and your support team can own password help.
  • SAML single sign-on: consider this when an organization manages the audience through an established identity provider.
  • Authentication provider: consider this when users should sign in through a third-party identity service set up for the site.
  • Passwordless login: consider this when verified email or phone access suits the audience better than a password they must recall.

These choices cover authentication. Document apart who qualifies for an account, how approval works, and what records that person should see. Treat a good sign-in and correct business access as two separate acceptance checks. A customer who reaches the portal but sees another company’s data has not passed the test.

Write down one main route per audience, the identity owner, the support owner, and the recovery route. For a partner audience, ask whether their employer or your company should handle a former employee. That answer decides who handles a locked-out partner, which matters more than the button design.

Use labels that the intended audience knows. Test customer and partner wording apart, most of all if they have different identity owners. Ask testers what they think will happen before they pick an option. A correct guess is stronger evidence than an attractive label.

Check the login page type before changing the design

In the Administration workspace, Login & Registration is where you choose the login page type. Default Page gives a basic starting point. Login Discovery Page supports a discovery experience used to set up passwordless login. Page design and sign-in method are related decisions, but selecting a page type does not complete the identity implementation.

Before you assign work, split the permissions. Access to Experience Workspaces needs site membership and Access Experience Management, Manage Experiences, or Create and Set Up Experiences. Creating or editing Visualforce pages needs Customize Application. Editing Apex classes needs Author Apex and Customize Application.

Check fit with your site template and release once, before you commit to a design. Do not approve a visual prototype until the team has shown its intended sign-in route working. If you do, the design can become a promise that the chosen page setup cannot keep.

Record standard settings apart from custom code, including the owner of each change. This makes Salesforce configuration and customization easier to review when a login change moves from administration into development.

Use username and password when recovery ownership is clear

External customers can sign in with the username and password given for their Experience Cloud site. For this route, plan the whole credential trip: invitation, first visit, forgotten credentials, and return after a long gap. Test those steps with someone who has not seen the administration screens.

Give testers the same instructions customers will get. Ask them to name the right credential without coaching. If they reach for an unrelated work account, fix the instructions before you add another login option. More choices can add confusion when the audience does not know which identity belongs to the portal.

Include a recovery test in acceptance. Start with a user who has forgotten the credential and follow the recovery steps on offer. Check that the final session belongs to the intended account. Document the support handoff for when the person cannot finish recovery alone.

Use SAML when an identity provider owns the relationship

SAML single sign-on can extend an existing identity setup to an Experience Cloud site. The setup needs the site URL tied to login. The site URL used for the SAML assertion POST must include /login. Check that destination on purpose. Do not reuse an employee login destination without a review.

Agree on the identity mapping before you change production settings. Ask the identity team which identifier stands for a person over time and how changes are handled. Prepare examples for a renamed user, a replacement employee, and a user who should no longer enter the portal.

For testing, tell the start of sign-in apart from the return to the site. Record where the trip stops: before the identity provider accepts the user, during the return, or after the site opens. These notes help the identity team and the Salesforce team look into the same event.

Define ownership across the link in your Salesforce integration architecture. Include who approves mapping changes and who runs certificate or identity-provider maintenance. Do not leave a critical login dependency with an owner named only as “the integration team.”

Ask for a comparison of the current and planned identity mapping, a named migration owner, and evidence for existing accounts. Agree how affected users will be told and how the support team will spot migration issues during the move.

Add an authentication provider at the site level

After you set up an authentication provider, open Setup, select All Sites, then Workspaces beside the intended site. Open Administration, then Login & Registration. Under Login Page Setup, select the provider and save. Open the site in a private browser to check the change. The provider shows beneath the login form and sends users to that provider.

Editing authentication provider settings needs Customize Application and Manage Auth. Providers. Site customization needs membership plus either Create and Set Up Experiences, or View Setup and Configuration with an experience admin, publisher, or builder role. Site publishing needs membership plus either Create and Set Up Experiences, or an experience admin or publisher role.

Before you show the button, agree how an arriving identity should match a portal account. Test an established user and a person who has no approved account. Name the right outcome for each. A working redirect alone is not full acceptance evidence.

Before you assign work, name the audience, chosen route, other options weighed, test evidence, and operating owner.

Treat passwordless login as a verification journey

Passwordless login can use a registered email address or phone number with a verification code in place of a password. For the Login Discovery approach, create a Login Discovery page in Experience Workspaces and customize the autogenerated Apex LoginDiscovery handler. That handler finds users from the identifier they give and checks their registered verification methods.

Plan for when a person no longer controls the original email account or phone. Set a recovery decision and an identity-checking process before launch. Support staff need an approved way to handle that case. They should not make up account ownership from a convincing story.

Test late code delivery, a wrong identifier, a changed device, and an abandoned trip. Record what the tester sees and whether they grasp the next step. Do not promise that dropping a password drops support work. It moves the focus to verification delivery and recovery.

Ask for the rough failure time, the chosen route, the step reached, and the visible error. Ask for a redacted screenshot where it fits. Keep passwords, verification codes, and authentication tokens out of support tickets.

Prove the selected route before opening it to the audience

Build an acceptance sheet with one row per user scenario. Include the starting state, intended identity, entry route, expected landing destination, expected business access, observed result, and reviewer. Use ordinary external users along with administrative testing.

  1. Start without an existing browser session and finish the primary route.
  2. Repeat with a returning user and confirm the intended account is used.
  3. Test an unapproved person and record the expected refusal or registration outcome.
  4. Open an intended destination after sign-in and check the relevant records.
  5. Finish recovery and sign-out scenarios with the support owner watching.

Keep a record of the settings before the change and a decision on when to restore them. Schedule a review after the first rollout. Use real failure reports to decide whether the instructions, mapping, or settings need work. Include that duty in Salesforce support and maintenance so a finished project has an operating owner.

Provide the audience decisions, settings inventory, custom-code ownership, test scenarios, recovery process, and escalation contacts by role. Include the reason each route was chosen so a future administrator can judge whether a planned change still fits the audience.

For help planning this work, see Salesforce implementation.