Salesforce Single Sign-On

Single Sign-On SSO

# Description

This article describes the single sign-on configuration process between Salesforce and IDaaS based on the SAML protocol.

# Authentication Configuration

# Salesforce Configuration

  1. Go to the Salesforce homepage and select Settings.

  2. Identity - Single Sign-On Settings - Edit, enable SAML.

  3. Identity - Single Sign-On Settings - New.

    • Issuer: EntityId from the IDP metadata

    • Identity Provider Certificate: The .cer format file saved from the certificate content in the IDP metadata

    • EntityID: Domain name, which needs to be set up in Salesforce in advance

    • Identity Provider Login URL: The Location content of the SingleSignOnService tag in the IDP metadata

    • To download the IDaaS IDP metadata, visit https://{your_domain}/api/v1/saml2/idp/metadata.

  4. View the newly created single sign-on settings.

  5. Download and view the metadata. The content marked in red will be used in the next step.

  6. Set the Salesforce domain name.

# IDaaS Configuration

  1. Add the pre-integrated application Salesforce.

  2. Configure authentication parameters by importing Salesforce metadata.

    • SP EntityID or Issuer: Fill in the entityID from the XML file in step 3

    • AudienceURI: Same as above

    • ACS URL: Fill in the Location content from the AssertionConsumerService tag in the SP XML file

    • NameID: Select Email

    • NameID Format: Select the content corresponding to NameID Format in the XML file from step 3

  3. Go to Application Details - Authorization Management - Application Accounts, click the Add Account button, and select authorized users.

  4. Modify the account name to the user's email address in Salesforce.

# Login Verification

Log in to the IDaaS User Center, click the Salesforce logo to enter Salesforce.