Determine the user experience when logging into your Salesforce org
via your My Domain. Manage user logins and authentication methods and customize your login
page with your brand. Control whether users are redirected when they visit URLs that
Salesforce previously served for your org.
Required Editions
Available in: both Salesforce Classic and
Lightning Experience
Available in: Group, Essentials, Professional, Enterprise,
Performance, Unlimited, and Developer Editions
Note My Domain settings apply to your org’s deployed and provisioned domains.
Set the My Domain Login Policy Manage how users and API calls access your Salesforce org. Specify whether logins to your org require your My Domain. And choose what users see when they access a bookmark or link that contains your instance-specific domain.
Customize Your My Domain Login Page with Your Brand My Domain gives you a point-and-click way to brand the page that prompts users to log in to your Salesforce org. You can replace the Salesforce logo with your own and change your background and login button colors. You can also display content to the right of your login form. Branding options apply to the entire login experience, including pages for users to verify their identity and reset passwords. They also apply to login flows.
Create an Interview-Based Login Page with My Domain Login Discovery Configure My Domain with Login Discovery to simplify the login process for users. Login Discovery is sometimes called interview-based login because it’s a two-step process. First, users identify themselves with an email address or phone number at the login page. Next, users verify themselves depending on the identifier entered. Users can verify themselves with a password, their single sign-on (SSO) credentials, or Lightning Login. You set up Login Discovery from the My Domain Setup page after you create an Apex class that implements the MyDomainLoginDiscoveryHandler interface.
Add Identity Providers to the My Domain Login Page Users can authenticate with alternate identity provider options from your My Domain login page. If you enabled single sign-on (SSO) and configured SAML, or if you set up external authentication providers, you can display them on the login page. Users are sent to the identity provider’s login screen to authenticate and then redirected to Salesforce.
Customize Your My Domain Login Page for Mobile Auth Methods By default, mobile apps built with Salesforce Mobile SDK use standard authentication. With standard authentication, a user logs in and approves access to their Salesforce data within the mobile app. For improved security and better performance on mobile apps, configure advanced browser-based authentication from the My Domain Setup page. With browser based-authentication, mobile users are taken to their native browser for authentication. After they log in and approve data access, they’re redirected to the mobile app.
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.