MyDomainDiscoverableLogin

Represents the configuration settings when the My Domain login page type is Discovery. Login Discovery provides an identity-first login experience, where the login page contains the identifier field only. Based on the identifier entered, a handler determines how to authenticate the user.

This type extends Metadata and inherits its fields.

MyDomainDiscoverableLogin components have the suffix .myDomainDiscoverableLogin in the myDomainDiscoverableLogins folder.

Introduced in API version 48.0.

  • Type: string
  • Required: Yes
  • Description: Required. The Apex handler class that contains the Discovery authentication logic.
  • Type: string
  • Required: No
  • Description: The user who is executing the handler. Requires the Manage User permission.
  • Type: string
  • Required: No
  • Description: The login prompt when the My Domain login page type is Discovery. This label supports localization with custom labels.

The following is an example of a MyDomainDiscoverableLogin component.

The following is an example package.xml that references the previous definition.

Use this type to access the My Domain Login Discovery Page. This type of login page prompts users to identity themselves with an email address, phone number, or custom identifier. My Domain Login Discovery performs an interview-based login process, where users are prompted to provide identity for authentication. For example, users receive a verification code that they enter to complete the login process.

This metadata type supports the wildcard character * (asterisk) in the package.xml manifest file. For information about using the manifest file, see Deploying and Retrieving Metadata with the Zip File.