Loading
Prepare for Email to Become the Default Login ExperienceRead More
Secure Your Salesforce Org
Support Salesforce Sites for an Authentication Provider

Support Salesforce Sites for an Authentication Provider

When you set up single sign-on (SSO) with an authentication provider, use the site request parameter to log in users to a site. You can also link to a site user.

Required Editions

Available in: Lightning Experience and Salesforce Classic
Available in: Enterprise, Performance, Unlimited, and Developer Editions
User Permissions Needed
To view the settings: View Setup and Configuration
To edit the settings:

Customize Application

AND

Manage Auth. Providers

To use your authentication provider with a site:

  • Enable the authentication provider to use with a site.
  • Ensure that the site is configured to use the same portal.
  • Add the site-specific login URL information to the appropriate client configuration URL, such as the Single Sign-On Initialization URL, using the site parameter
Example
Example

You create a site login Visualforce page or default login page. Here’s an example of the site’s login URL: https://MyDomainName.my.site.com/SiteLogin.

Here’s an example of a site-login URL added to the Single Sign-On Initialization URL using the site parameter, where:https://login.salesforce.com/services/auth/sso/orgID/URLsuffix?site=https://MyDomainName.my.site.com/SiteLogin

  • orgID is your Auth. Provider ID
  • URLsuffix is the value you specified when you defined the authentication provider

If you don’t specify a site parameter, Salesforce sends the user to either a standard portal if one is set up, or the standard application if not.

 
Loading
Salesforce Help | Article