identity & security

SSO with Salesforce.com and Auth0

Last week we added support to Auth0 to integrate with Salesforce.com.

May 5, 20132 min read

Last week we added support to Auth0 to integrate with Salesforce.com. This means that you can now enjoy SSO with Salesforce with any of our supported Identity Providers in minutes.

How does it work?

Salesforce implements the SAML Protocol for authentication and identity federation. Auth0 bridges SAML-P with whatever your preferred Identity Provider implements: SAML, OAuth 1, OAuth 2, LDAP, a SQL database, anything.

Salesforce provides a very handy SAML Validator that allows you to test the SAML Responses it expects. One small glitch is that even though the Validator will accept deflated content, Salesforce itself won't. Not that you need to use this option, as responses will typically be small payloads. It's just a small inconsistency in the docs that might leave you scratching your heads.

Setup

Configuring Salesforce in Auth0 is reduced to a single checkbox: enable. Can you think of a simpler way?

Once you enable it, you need to complete configuration on Salesforce itself. You get all the instructions on the same page where you enable it. Three parameters are used on Salesforce:

  1. The signing certifcate
  2. The Issuer name
  3. The Login URL

You are done!

Demo

In this very short demo you will see SSO open Salesforce with users authenticating in Office365:

Try Auth0 yourself!

About the author

Eugenio Pace

Eugenio Pace

CEO and Co-Founder

Pace co-founded Auth0 in early 2013 with CTO and “brother-in-arms” Matias Woloski while living 7,000 miles apart from each other. Since then, Pace has played an instrumental role in growing Auth0 into a leading identity management company that is loved by developers and trusted by global enterprises. He loves traveling and has visited more than 35 countries for business and pleasure. He currently lives in Redmond, Washington with his wife, two sons, and their labrador retriever. In his spare time, he enjoys the outdoors, rowing, riding bikes, spending time with his family, restoring his 1970 Karmann Ghia, writing his blog, and reading history and philosophy.View profile