Loading
Prepare for Email to Become the Default Login ExperienceRead More
Intermittent freezing when using using certain browser versionsRead More
Secure Your Salesforce Org
Define an Authentication Provider

Define an Authentication Provider

To use an authentication provider for single sign-on (SSO), define an authentication provider in Setup by using configuration information from a third-party identity provider. Control security settings, customize the SSO experience with error and logout URLs, and configure registration handler settings. Most authentication providers support single sign-on (SSO) and third-party data access, with the exceptions of GitHub, Microsoft Access Control Service, and X (formerly Twitter).

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

Salesforce supports several different ways to set up authentication providers. For common third parties, such as Google and Microsoft, Salesforce providers predefined authentication provider types that can simplify setup. For third parties that don't support OpenID Connect, you can use Apex to create a custom authentication provider. Custom authentication providers give you the most flexibility over your SSO implementation.

Predefined Authentication Provider Types

For these common providers, such as Google and Microsoft, Salesforce provides predefined authentication provider types that can simplify setup.

  • Apple
  • Bitbucket
  • Concur
  • Facebook
  • GitHub
  • Google
  • Janrain
  • LinkedIn
  • Microsoft
  • Microsoft Access Control Service
  • MuleSoft
  • OpenID Connect—this type supports any third party that uses the OpenID Connect protocol.
  • Salesforce
  • Slack
  • X (formerly Twitter)

Custom Authentication Providers

For more flexibility with your SSO implementation, you can create a custom authentication provider with Apex. For example, use a custom authentication provider to set up SSO for a third party that doesn't support OpenID Connect. Custom authentication providers use the OAuth 2.0 protocol.

Authentication Provider Functionality

Here's a summary of provider types and what they support.

Authentication Provider Type Supports SSO Supports Third-Party Data Access
Apple Yes Yes
Custom Yes Yes
Facebook Yes Yes
GitHub No Yes
Google Yes Yes
Janrain Yes Yes
LinkedIn Yes Yes
Microsoft Yes Yes
Microsoft Access Control Service No Yes
OpenID Connect Yes Yes
Salesforce Yes Yes
Slack Yes Yes
X (formerly known as Twitter) Yes No

Configuration Resources

 
Loading
Salesforce Help | Article