IDENTITY-AND-ACCESS-MANAGEMENT-ARCHITECT practice question 14 of 30

Universal Container's (UC) is using Salesforce Experience Cloud site for its container wholesale business. The identity architect wants to an authentication provider for the new site. Which two options should be utilized in creating an authentication provider? Choose 2 answers

Full set: 248 questions
Answer options
A: A custom registration handier can be set. Correct answer
B: A custom error URL can be set. Correct answer
C: The default login user can be set.
D: The default authentication provider certificate can be set.
Correct Answer:
A. A custom registration handier can be set.; B. A custom error URL can be set.
Explanation

When configuring an authentication provider in Salesforce for an Experience Cloud site, an administrator has several options to customize the single sign-on (SSO) and user registration experience. Two key options are setting a custom registration handler and a custom error URL. A custom registration handler is an Apex class that provides granular control over creating or linking users upon their first login. A custom error URL allows the administrator to redirect users to a specific page for a better user experience if the authentication process fails.

Why Incorrect

C. The default login user can be set. This is incorrect. An authentication provider is used to authenticate a specific external user, not to log in as a single, predefined default user. The "Execute Registration As" setting defines the context for the handler, not the logged-in user.
D. The default authentication provider certificate can be set. This is misleading. While a certificate is used for signing requests (e.g., in SAML), you select a certificate from those available in Certificate and Key Management. You do not "set the default certificate" as a direct configuration within the provider's setup page.

References

1. Salesforce Help Documentation

"Create an Authentication Provider": This document outlines the fields available when creating any authentication provider. It explicitly lists "Registration Handler" and "Custom Error URL" as configurable options.

Reference: Salesforce Help

Auth Providers. Under the configuration steps for various providers (e.g.

OpenID Connect

Facebook)

the documentation details the purpose of the Registration Handler field to select an Apex class and the Custom Error URL field to specify a URL for error redirection.

2. Apex Developer Guide

Auth.RegistrationHandler Interface: This guide details the purpose and implementation of the registration handler

confirming it's a primary customization point for authentication providers.

Reference: Salesforce Apex Developer Guide

Auth.RegistrationHandler Interface. The guide states

"Use this handler to create a Salesforce user

update a user

or link to an existing user... based on their third-party credentials." This confirms the functionality described in option A.

3. Salesforce Identity and Access Management Architecture

Official Curriculum: University-level and official Salesforce Trailhead modules on this topic cover the architecture of external identity.

Reference: Trailhead

External Identity for Experience Cloud Sites

"Set Up an Auth. Provider" unit. This module demonstrates the setup process

showing the fields for Registration Handler and Custom Error URL as standard configuration steps for integrating third-party identity.

Scroll to Top