Creating a Salesforce Communities connection
You can set up provisioning for a connection to a Salesforce Communities identity store.
Before you begin
You should review the information about creating users and cloning community profiles in Salesforce Communities. Learn more in Salesforce Community users in the Integrations documentation.
Steps
-
In the PingOne admin console, go to Integrations > Provisioning.
-
Click and then click New Connection.
-
On the Identity Store line, click Select.
-
On the Salesforce Communities tile, click Select. Click Next.
-
Enter a name and description for the provisioning connection.
Result:
The connection name appears in the provisioning list after you save the connection.
-
Click Next.
-
In the Configure Authentication section, enter the values for the following fields:
Field Value Salesforce Domain
The full domain for the Salesforce account.
You can find the domain in the URL when signed on to the account. For example,
<myCompanyName>.my.salesforce.com
.Client ID
The Consumer Key value from Salesforce for the connected application.
Learn more in Create a Connected App in the Salesforce documentation.
Client Secret
The Consumer Secret value from Salesforce for the connected application.
OAuth Access Token
The access token from Salesforce for the connected application.
You can use the Ping Identity OAuth Configuration Service (OCS) to get the token. Learn more in Getting an API access token from Salesforce in the Integrations documentation.
OAuth Refresh Token
The refresh token from Salesforce for the connected application.
-
Click Test Connection to verify that PingOne can establish a connection to Salesforce Communities.
Result:
If there are any issues with the connection, a Test Connection Failed modal opens. Click Next to resume the setup with an invalid connection.
You can’t use the connection for provisioning until you’ve established a valid connection to Salesforce Communities. To retry, click Cancel in the Test Connection Failed modal and repeat step 7.
Troubleshooting:
Learn more about troubleshooting your connection in Troubleshooting Test Connections Failure.
-
In the Configure Preferences and Actions sections, configure the following:
Field Description Permission Set Management
Determines how to handle permission sets in the Salesforce Communities identity store.
Select Merge with permission sets in Salesforce or Overwrite permission sets in Salesforce. If you select Merge with permission sets in Salesforce, and a permission set is added in the datastore, PingOne adds it to the user’s existing permission sets in Salesforce Communities.
PingOne doesn’t remove any permission sets added in Salesforce Communities by other sources. If you select Overwrite permission sets in Salesforce, and a permission set is added or removed in the datastore, PingOne overwrites the user’s permission sets in Salesforce Communities with those from the datastore.
Allow Users to be Created
Determines whether to create a user in the Salesforce Communities identity store when the user is created in the PingOne identity store.
Allow Users to be Updated
Determines whether to update user attributes in the Salesforce identity store when the user is updated in the PingOne identity store.
If you clear the Allow Users to be Updated or Allow users to be disabled checkboxes, the child options that depend on a user update will become unavailable.
Allow Users to be Disabled
Determines whether to disable a user in the Salesforce Communities identity store when the user is disabled in the PingOne identity store.
Action when Disabling Users
Determines the action to take when deprovisioning users from the Salesforce Communities identity store:
-
Disable. When deprovisioning, PingOne disables the user. The user can’t sign on, and their data isn’t visible to other users in Salesforce Communities.
-
Freeze. When deprovisioning, PingOne freezes a user. The frozen user can’t sign on, but the user’s data, such as profile and activity, is still visible to other users in Salesforce Communities.
Learn more in Freeze or Unfreeze User Accounts in the Salesforce documentation.
Allow Users to be Deprovisioned
Determines whether to deprovision a user in the Salesforce Communities identity store when the user is deprovisioned in the PingOne identity store.
Remove Action
Determines the action to take when removing a user from the Salesforce Communities identity store.
Deprovision on Rule Deletion
Determines whether to deprovision users if the associated provisioning rule is deleted.
-
-
Click Save.
-
To enable the connection, click the toggle at the top of the details panel to the right (blue).
You can disable the connection by clicking the toggle to the left (gray).
Result
The Salesforce Communities provisioning connection is complete and added to the list of provisioning connections on the Provisioning page.
Next steps
Sync group members out of PingOne into a software as a service (SaaS) application. Learn more in Configuring outbound group provisioning.
Salesforce Communities provisioning features
The Salesforce Communities provisioner offers the following features.
Provision users from the PingOne identity store to Salesforce Communities:
-
Create users
-
Update users
-
Deprovision users
Customize provisioning options:
-
Deprovision users with a freeze or disable action
-
Provision disabled users
-
Merge or overwrite permission sets
Group provisioning
-
Sync a group and its members from PingOne to Salesforce Community.
Salesforce Communities attribute mapping
The following table lists common Salesforce Communities attributes that can be mapped for user provisioning.
You can find a complete list of Salesforce attributes in User in the Salesforce documentation.
Attribute | Description | ||
---|---|---|---|
Account Id |
The identifier associated with a company in Salesforce Communities.
|
||
Alias |
The user’s short name used on list pages, reports, and other pages where the entire name doesn’t fit.
|
||
The user’s email address. |
|||
Email Encoding Key |
The email encoding. A default set of email encoding options is provided based on your Salesforce environment. |
||
First name |
The user’s first name. |
||
IsActive |
The status of the user account in Salesforce Communities. |
||
Language Locale Key |
The user’s language. |
||
Last name |
The user’s last name. |
||
Locale Sid Key |
The locale of the user. A default set of options is provided based on your Salesforce environment. |
||
Profile Id |
The identifier associated with a user profile type in Salesforce. The profile determines the type of user and some permissions. Learn more in Profiles in the Salesforce documentation. |
||
Time Zone Sid Key |
The user’s time zone. A default set of options is provided based on your Salesforce environment. |
||
Username |
The user’s username and Salesforce sign-on.
|
Attribute mapping for Salesforce, Salesforce Communities, and Salesforce Leads and Contacts provides an ability to make required attributes optional on update, this helps update existing users. When adding attribute mapping in the PingOne admin console, click the Update checkbox to include the attribute mapping in updates. The email attribute mapping is checked by default and included in updates. |
Salesforce Communities known limitations
The following are known issues and limitations with Salesforce Communities user provisioning.
Attributes
-
The provisioner cannot clear user attributes after they have been set.
-
Multi-attribute values are not supported.
Deprovisioning
-
When deprovisioning a Salesforce customer or partner user, the provisioning connector does not unlink the user from the associated contact.
-
If a customer or partner user is unlinked in Salesforce from the associated contact, any changes to the user in the data store causes the provisioning connector to create a new user in Salesforce and link it to the existing contact.
-
Guest users in Salesforce cannot be frozen. If Freeze Users instead of Disable is selected in your provisioning options, the guest user will not be disabled or frozen.
Refresh tokens
-
Refresh token policy must be set to Refresh token is valid until revoked for OAuth because expiring refresh tokens are not supported.
Salesforce Communities
-
The provisioner can link users to
customer
andpartner
business accounts, but notperson
accounts. For more information, see the Accounts page in the Salesforce documentation.