Thomas Pedersen
posted this on Mar 10 09:41
If you want to log users into Salesforce using SAML, you first have to go through a few steps in Salesforce, which should take no more than a minute.


Now your users can log into Salesforce.com from OneLogin without the use of a password.
By default, users are authenticated in Salesforce using the email address they are registered by in OneLogin. However, in some cases it is not practical or even possible to use the email address as the user ID though, for example if the same user has access to multiple Salesforce accounts.
You can specify another ID for an user by editing the user's login record under People -> Users. Just scroll down to the relevant Salesforce entry and click edit.
If you click on a Salesforce link in an email you will be taken directly to the requested page in Salesforce. If you are not logged into OneLogin, the link will be followed upon successful authentication. Note that this will not work until Salesforce has successfully set a cookie in your browser, typically after the first successful login.
By default, Salesforce allow users to login using their usernames and passwords, even though Salesforce is configured to use SAML. This can be prevented by adding a second mechanism called Delegated Authentication. Follow these steps:
This causes non-administrator users to be denied access when trying to login to Salesforce using their usernames and passwords. Users with the Administrator profile will remain able to login using a username and password.
If you are using the Enterprise or Unlimited edition of Salesforce, you should edit your profiles and add the "Use Single Sign-On" permission.
Important: Do not add this setting to the administrator profile. Administrators should allways be able to login using their username and password, in order to modify single sign-on parameters, if they have to.