You are viewing an earlier version of the admin guide. For the latest version, please visit EmpowerID Admin Guide v7.211.0.0.

Skip to end of banner
Go to start of banner

Setting Up SSO with Salesforce

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »


The EmpowerID SSO framework allows you to integrate Salesforce with EmpowerID, making EmpowerID the identity provider for your organization's Salesforce account. In this way, users can access their Salesforce accounts directly from EmpowerID using their EmpowerID credentials, their corporate AD logins or those of another trusted third-party identity provider that has been integrated with EmpowerID.

This topic describes how to set up SSO with Salesforce.

Prerequisites

Before setting up Single Sign-On in Salesforce, decide the name for the Salesforce application you are creating in EmpowerID. You need to use the same name when setting up SSO in Salesforce.

The name must be one word, such as Salesforce or CorporateSalesforce.

You also need the public certificate (.cer file) for the private key (.pfx file) used for signing SAML assertions in your EmpowerID deployment. Salesforce needs the public certificate to verify that the SAML assertions come from your organization.

  1. Log in to Salesforce and click Settings, then Identity, then Setup.
  2. In the Navigation Sidebar of Salesforce, navigate to Settings, then Identity, and click Single Sign-On Settings.
  3. On the Single Sign-On Settings page, below Single Sign-On Settings, click the Edit button to enable federated authentication using SAML.



  4. Select SAML Enabled and then click Save.



    Back in the main Single Sign-On Settings page, click the New button below SAML Single Sign-On Settings.



  5. From the SAML Single Sign-On Settings page that appears, do the following:

    Salesforce populates the value of the API Name field based on the value given in the Name field, but you can change it.

    1. Type an appropriate name in the Name field.
    2. Observe the value of API Name field and change it if desired.
    3. Enter EmpowerID in the Issuer and field.
    4. If your Salesforce has domains deployed, enter either the base domain ( https://saml.salesforce.com) or the custom domain in the Entity ID field.
    5. Click Choose File and then browse to the public certificate (.cer file) for the SAML Signing certificate (.pfx file) used in your EmpowerID deployment.
    6. In the Identity Provider Login URL field, enter 
      https://<FQDN_Of_Your_EmpowerID_Web_Server>/EmpowerIDWebIDPForms/Login/<CorporateSalesforce>

      Replace <FQDN_Of_Your_EmpowerID_Web_Server> with the FQDN of your EmpowerID Web server and <CorporateSalesforce> with the name of the Salesforce application you chose for the Salesforce SSO application you are creating in EmpowerID.

    7. Click Save.

      The SAML Single Sign-On Settings page at this point looks similar to this image.



    8. Below Endpoints, copy the Login URL. You need this to create the Salesforce SSO application in EmpowerID.



    9. Back in the main pane of the Single Sign-On Settings page, click the link for the Request Signing Certificate Salesforce generated for the SSO connection.



    10. Click Download Certificate. You need this for the EmpowerID certificate store in the next step.

To add the Salesforce Request Signing Certificate to the EmpowerID Certificate Store

  1. Locate the Salesforce Request Signing Certificate and add it to the Personal Certificate store on your EmpowerID server.
  2. From your EmpowerID server, open the EmpowerID Certificate Manager. To find it, search for Certificate Manager or look in the \Program Files\TheDotNetFactory\EmpowerID\Programs folder.
  3. In the EmpowerID Certificate Manager, click Upload from Local Certificate Store and select the Salesforce certificate.



  4. Enter a password for the certificate and click OK.



  5. Close the EmpowerID Certificate Manager.

The next step is to create a Salesforce application in EmpowerID.

To create a Salesforce application in EmpowerID

  1. In the navigation sidebar, expand Applications and click Manage Applications.
  2. From the Actions pane of the Find Application page, click the Create Application action.



    This opens the Application Details form, which contains various tabs and fields for creating the application.



  3. From the General tab of the Application Details form, do the following:
    1. Enter a name for the Salesforce application in the Name field. The name must be one word and it must be same name you entered in Salesforce.
    2. Enter a display name and description for the application in the Display Name and Description fields.
    3. In the Icon field, type ~Images/AppLogos/Salesforce.png to use the Salesforce image provided by EmpowerID. This image represents the Salesforce application in the EmpowerID Web interface for users with access.
    4. Set Allow Access Requests to specify whether the application appears in the IT Shop, allowing users to request or claim an account in the application.
    5. Set Allow Claim Account to specify whether users can claim their accounts and gain instant access after passing the requisite identity proofs.
    6. Set Allow Request Account and Allow Access Requests to allow users to request an account in the application.
    7. Set Login Is Email Address to specify whether the login for the application is an email address. If so, EmpowerID sends a one-time password to the email address for identity proofing when claiming accounts. This setting is used to pass the identity assertion to the application when logging in from EmpowerID.
    8. Set Make me the Application Owner to manage the application and approve or deny access requests.
    9. Set Configure Advanced Claim and Request Account Options and provide advanced configuration information if you have custom pages and workflows configured in EmpowerID that process access requests and manage accounts linked to the application's EmpowerID account directory.
  4. Click the Single Sign-On tab and do the following:
    1. Select SAML from the Single Sign-On Connection Type drop-down and then select Create a New SAML Connection.



    2. In the SAML Connection Information section that appears, select Salesforce SSO Connection Settings from the SAML Application Template drop-down. This populates the SAML Connection Information section with common SSO settings for Salesforce.
    3. Enter a display name for the SSO Connection in the Display Name field. This field is populated with the value of the name of the application, but you can change it.
    4. Enter a description for the SSO Connection in the Description field.
    5. In the Assertion Consumer URL field, enter the Login URL for your organization provided by Salesforce when you set up Single Sign-On there.
    6. Leave the Issuer set to EmpowerID.
    7. Enter /EmpowerIDWebIDPForms/Login/<CorporateSalesforce> replacing <CorporateSalesforce> with the name of your application.
    8. Select the appropriate certificate to sign the SAML assertions sent to Salesforce from the Certificate drop-down. This certificate must be the same certificate you uploaded to Salesforce.

      At this point, the SAML Connection Information section of the form looks similar to this image.



  5. Click the Users tab and do one of the following:
    • If you have not Salesforce to your enterprise Salesforce account - Tick Create a New Account Directory. If you select this option, EmpowerID uses the Salesforce tracking-only account store that is configured out-of-the-box. The Salesforce tracking-only account store exists as a container within EmpowerID for storing user and group records apart from those located in the actual directory Salesforce maintains for your Salesforce account. EmpowerID uses this directory to map your Salesforce users with their corresponding EmpowerID Persons.
    • If you have Salesforce to your enterprise Salesforce account - Select the account store for your Salesforce account from the Select existing Account Directory drop-down. Please note that you must add this account store to EmpowerID before it appears in the drop-down.



  6. Click Add to Cart.
  7. Click the My Cart link and in the Cart dialog that appears, type a reason for creating the application and then click Submit.


The next step is to configure the Salesforce SSO connection.

To configure the Salesforce SSO connection

  1. From the navigation sidebar, expand Admin, then SSO Connection, and click SAML.
  2. Search for the Salesforce connector and then click the drop-down arrow to the left of it and click Edit.



  3. Scroll to the certificates section of the form and select the Salesforce certificate you uploaded to the EmpowerID Identity Warehouse using the EmpowerID Certificate Manager.



  4. Click the Subject Confirmations tab and click the Add New (+) button.
  5. In the dialog that appears, do the following:
    1. Type a name for the SAML Subject Confirmation in the Name field.
    2. Select Bearer from the Subject Confirmation Method drop-down.
    3. Enter the Login URL for your application in the Recipient field.



    4. Click Save.
  6. On the Audiences tab, click the Add New (+) button.
  7. In the dialog that appears, do the following:
    1. Type a name for the SAML Audience in the Name field.
    2. Enter https://saml.salesforce.com in the Audience URL field.

      The Audience URL is case sensitive. Salesforce rejects SAML assertions with incorrect casing.




    3. Click Save.
  8. Back in the main SSO connection form, click Save.

Now that the connection has been updated, the next step is to give your users access to the application.


To give users access to the Salesforce SSO application

  1. In the navigation sidebar, expand Applications and click Manage Applications.
  2. Search for the Salesforce application and then click the Display name link for it.



  3. From the Application Details page that appears expand the Who Has Access To Application accordion.
  4. From the To which type of actor do you wish to assign access? drop-down, select an actor type. In this example, select the Management Role actor type.



  5. Click the Add New Assignee (+) button.
  6. In the Select to whom you wish to grant access dialog that appears, select the specific actor for the actor type. In this example, select the Self-Service User Management Role.
  7. Select an Access Level from the Access Level drop-down. To let users see the application on their personal applications page, grant them the Viewer Access Level.
  8. If you want to add a time constraint to the Access Level assignment, such as adding specific times and days when the application is available for use, select the Time constraint box and then select the desired times and days.
  9. When complete, click the Save button.



  10. From the Navigation Sidebar, expand Identity Administration and click the link for the actor type you selected above. For example, if you granted access to a Management Role, you click Management Roles.
  11. From the Find page for the actor type, search for the specific actor to whom you granted access. In our example, we are searching for a Management Role.

    If you selected a different actor type, such as a Business Role and Location, the steps will vary slightly from those demonstrated below.

  12. Click the Display Name link for the specific actor.



  13. From the Details page for the actor that appears, on the Advanced tab, expand the User Interface Access accordion and click the Edit button.



  14. Search for Applications and then select SSO Applications page. This page displays to users any SSO applications the users may access.



  15. Click Submit. Users with access can view the page and SSO to Salesforce at the next compilation of the RBAC engine.

    You can compile RBAC immediately by navigating to theSelf-Service (Workflows)view of the IT Shop and clickingRefresh RBAC and IIS App Pools.



To test the Salesforce SSO application

  1. Log in to the EmpowerID Web application as a person with a Salesforece account.
  2. In the navigation sidebar, expand Applications and click Login.



  3. Click the Salesforce tile.

    EmpowerID opens a new browser tab and logs you in to your Salesforce account.


   

On this page



  • No labels