Member-only story

Enable SSO in Salesforce with Auth0 as the IdP and Salesforce as the Service Provider

John Wheeler
9 min readMar 10, 2022

--

Enable SSO in Salesforce with Auth0 as the IdP

Single Sign-on (SSO) is the three letter acronym that should make everyone’s life easier by enabling users to authenticate with multiple systems with a single set of credentials.

This article details integrating Salesforce as a Service Provider (SP) with Auth0 as an Identity Provider (IdP) using SAML2.

Configure Auth0

Auth0 has many preconfigured SSO Service Providers (SP). There is one for Salesforce but it lacks any customization like setting the SAML response or assertion values. The instructions for manually configuring an SP are pretty straight forward. Start with Creating an application in Auth0.

Create an application

This one is eponymously namedSalesforce and it’s been assigned a client id and a client secret by Auth0. Scrolling to the bottom we need to get the certificate. The Salesforce documentation does not specify the format of the certificate it requires and Auth0 provides three options.

--

--

John Wheeler
John Wheeler

Written by John Wheeler

Security professional, Mac enthusiast, writing code when I have to.

No responses yet