---
schema_version: "1"
id: 3fdf6bf2af3f75d8224a743d8fcf66f09ccde2f8af6678a95abe8aac43e4d782
title: MyDomainDiscoverableLogin
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_mydomaindiscoverablelogin.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_mydomaindiscoverablelogin.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 8cf4ad4d52e79b96cd416e6a262d45972eb339406af6201dbf9cc758d081a147
description: Represents 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 object is available in API version 45.0 and later.
---
# MyDomainDiscoverableLogin

Represents 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 object is available in API version 45.0 and later.

## Supported Calls

create(), delete(), describeSObjects(), query(), retrieve(), update(), upsert()

## Fields

| Field Name | Details |
| --- | --- |
| ApexHandlerId | 
Type

reference

Properties

Create, Filter, Group, Sort, Update

Description

The ID of the Apex handler that contains the Discovery authentication logic.

This is a relationship field.

Relationship Name

ApexHandler

Relationship Type

Lookup

Refers To

ApexClass



 |
| DeveloperName | 

Type

string

Properties

Create, Filter, Group, Sort, Update

Description

The unique name of the object in the API. This name can contain only underscores and alphanumeric characters, and must be unique in your org. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores. In managed packages, this field prevents naming conflicts on package installations. With this field, a developer can change the object's name in a managed package and the changes are reflected in a subscriber's organization.

![Note](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/images/icon_note.png)

#### Note

Only users with View DeveloperName OR View Setup and Configuration permission can view, group, sort, and filter this field.















 |
| ExecuteApexHandlerAsId | 

Type

reference

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The ID of the user who is executing the handler. Requires Manage User permission.

This is a relationship field.

Relationship Name

ExecuteApexHandlerAs

Relationship Type

Lookup

Refers To

User



 |
| Language | 

Type

picklist

Properties

Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update

Description

The language of the MasterLabel.

Possible values are:

- da (Danish)
- de (German)
- en\_US (English)
- es (Spanish)
- es\_MX (Spanish - Mexican)
- fi (Finnish)
- fr (French)
- it (Italian)
- ja (Japanese)
- ko (Korean)
- nl\_NL (Dutch)
- no (Norwegian)
- pt\_BR (Portuguese - Brazilian)
- ru (Russian)
- sv (Swedish)
- th (Thai)
- zh\_CN (Chinese - Simplified)
- zh\_TW (Chinese - Traditional)





 |
| MasterLabel | 

Type

string

Properties

Create, Filter, Group, Sort, Update

Description

The name of the action link group template.



 |
| UsernameLabel | 

Type

string

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

Login prompt on login page when the My Domain login page type is Discovery. It supports localization with custom labels.





 |

## Usage

Use this object to access the My Domain Login Discovery Page, which is a login page type that 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 first prompted to provide identity and then authenticated. For example, users receive a verification code that they enter to complete the login process.