Customize Your Community’s Login Experience | Salesforce
Customize Your Community’s Login Experience
Customize the default login process for external users in your community. You can also use a custom Community Builder, Site.com Studio, or Visualforce login page, support multiple authentication providers, and configure single sign-on with any template.
Available in: Salesforce Classic
Available in: Enterprise, Performance, Unlimited, and Developer Editions
User Permissions Needed
To create, customize, or activate a community:
“Create and Set Up Communities”
Is a member of the community whose Community Management page they’re trying to access.
External users are users with Community, Customer Portal, or partner portal licenses.
The login page you select in Community Management overrides other login page assignments in the Site.com or Force.com site settings.
If your community uses the Salesforce Tabs + Visualforce template, the login page assigned to the community by default is called CommunitiesLogin. Use Visualforce to customize the appearance of this page.
If your community uses the Customer Service (Napili) template, the login page assigned to the community by default is called login. Use Community Builder (Site.com Studio) to customize its appearance.
You must publish custom Community Builder pages before they can be assigned to a community. Before you use your custome login page, remember to modify the CommunitiesLoginController Apex controller and the Site.login() Apex method.
Access Community Management in one of the following ways.
From the community:
In Salesforce Tabs + Visualforce communities, click in the global header.
In Community Builder-based communities, use the drop-down menu next to your name and click Community Management.
From Setup, enter All Communities in the Quick Find box, then select All Communities and click the Manage link next to a community.
From Community Builder, in the header, use the drop-down menu next to the name of your template and click Community Management.
Click AdministrationLogin & Registration and make your changes under the Login section.
Optionally, choose a custom login page for your community. Select the page type (Community Builder or Visualforce), enter the name of the page in the search field, and click . In the search results window, click the name of the page to select it.
To revert to the default login page for your community’s template, select Default Page.
Optionally, select Allow internal users to log in directly to the community. This setting allows your internal users to use their internal username and password on the community login page.
Internal users must be members of the community to log in directly from the community login page. After your internal users log in, they land on the community home page.
SAML settings for single sign-on, which enables login to Salesforce using your corporate identity provider. Note that you must enter an Identity Provider Login URL.
A custom domain name, which changes the application URLs for all your pages, including login pages. Contact Support if you want to enable My Domain.
To offer multiple SAML single sign-on options, enter Single Sign-On Settings in the Quick Find box, select Single Sign-On Settings, and then click Enable Multiple Configs. If you already had SAML enabled, and you then enable multiple SAML configurations, your existing SAML configuration is automatically converted to work with multiple configurations.
Users see the option to Log In with Single Sign-On. If you have enabled multiple SAML single sign-on options, each login button displays labeled with the SAML configuration’s Name field.
Renaming or deleting the default login page can cause problems with the default community login flow.