Reputation: 73
We want to do SSO with Salesforce.com. From their documentation, we found this option 'Delegated authentication' to suit our needs. Basically when given a user name and password, Salesforce.com would initiate a web service call to the original organization to get it validated.
We are thinking of implementing this the following way - Our users would login into our system with user id and password, we would get them authenticated. Then when they have to access Salesforce.com, we would supply the username and the cookie(that we got from the authentication) to Salesforce.com which would then pass these in the web service call to our organization and we would be able to validate the user using this cookie.
Has anyone tried/heard of this approach ? Are there any known limitations. Any help would be appreciated.
Upvotes: 4
Views: 869
Reputation: 444
One way to do it is by using the SAML2 Web Browser SSO profile which is supported by Salesforce. You need to configure the SAML2 SSO in Salesforce admin settings. Here is the brief overview: https://help.salesforce.com/apex/HTViewHelpDoc?id=sso_saml.htm&language=th
The flow for an end-user looks like this:
Upvotes: 2
Reputation: 19040
This is a common approach when using delegated auth, the main issue is if your DA listener only accepts the authentication cookie, then logging into salesforce from applications other than the web site are not possible (e.g. mobile apps, data loader, etc). You can write your DA listener to accept either an auth cookie or a password and work that way, or you can look into the newer SAML based SSO features which many apps now support.
Upvotes: 3