Introduction
This document explains how to configure and manage Salesforce integration with the PureAUTH Identity Platform and make Salesforce authentication passwordless.
Add Salesforce SAML application on PureAUTH
- Login to https://live.pureauth.io/organizations/login/
- Navigate to the Applications tab.
- Select “Add Application”.
- Select “Custom App”.
![](https://docs.pureauth.io/wp-content/uploads/2023/08/1-15.png)
- Enter Any application Name.
- Select Primary (Corporate Email) in the Dataset for email field.
![](https://docs.pureauth.io/wp-content/uploads/2023/08/2-11.png)
- In the “SAML Response Endpoint (ACS URL)” field, enter the URL using the following pattern.
https://<IP with port/domain with port>/remote/saml/login/
![](https://docs.pureauth.io/wp-content/uploads/2023/08/3-11.png)
- In “Audience (Entity ID)” field, enter the URL using the following pattern:
https://<IP with port/domain with port>/remote/saml/metadata/
![](https://docs.pureauth.io/wp-content/uploads/2023/08/4-10.png)
- In “SAML Logout Response Endpoint (SLO URL)” field enter the URL using the following pattern:
https://<IP with port/domain with port>/remote/saml/logout/
![](https://docs.pureauth.io/wp-content/uploads/2023/08/5-9.png)
Sign Assertion : Checked
![](https://docs.pureauth.io/wp-content/uploads/2023/08/6-9.png)
- Click “Add“
Steps to Add PureAUTH as IDP in SP
- CLICK HERE to log in to Salesforce with the administrator privileges.
- Click on Setting Icon > Setup > Identity > Single-sign on Setting.
![](https://docs.pureauth.io/wp-content/uploads/2023/08/7-6-1024x504.png)
- Click on Edit Option.
![](https://docs.pureauth.io/wp-content/uploads/2023/08/8-6.png)
- Check the SAML Enabled checkbox to enable SAML Single Sign-on, then Save.
![](https://docs.pureauth.io/wp-content/uploads/2023/08/9-1.png)
- Click on New option.
![](https://docs.pureauth.io/wp-content/uploads/2023/08/14.png)
SAML Configuration
- Name : Enter any name.
- SAML Version : Make sure it is set to 2.0 as the default.
- Issuer : Copy and paste from the PureAUTH Dashboard.
- Identity provider Certificate : Download and upload the certificate.
Note: The certificate is already generated on the PureAUTH portal. —–BEGIN CERTIFICATE—–to —–END CERTIFICATE—– copy the X.509 certificate and Paste it into a text editor and save it as a “.pem” file.
- Service Provider Initiated Request Binding : Check the option “HTTP Redirect“.
- Identity Provider Login URL : Copy and paste from the PureAUTH Dashboard.
- Custom Logout URL : Copy and paste from the PureAUTH Dashboard.
- API Name : Enter any name.
- Entity ID : If you have custom domain setup, Use your custom URL, If not use https://smal.saleforce.com
- Click Save.
![](https://docs.pureauth.io/wp-content/uploads/2023/08/15.png)
- After saving, it generates endpoints for your organization.
![](https://docs.pureauth.io/wp-content/uploads/2023/08/salesforce-Endpoint-details-.png)
- Copy the Login and Logout URL and replace it in PureAUTH with the same login and logout URL.
Set up Authentication Service in Salesforce
- Go to My Domain > Authentication configuration Section > Edit.
- Select your Authentication Service, then Save.
![](https://docs.pureauth.io/wp-content/uploads/2022/06/Salesforce-Authentication-Configuration-.png)
Setup authentication for single sign-on to the user profile.
- Go to Users > new user
- Fill in all of the required information and then click Save.
- Congratulations! You are now using Salesforce passwordless.