Registering PingFederate as a connected app in Salesforce
About this task
Before PingFederate can access the Salesforce API, it needs an access token. To get the access token, you need to register PingFederate as an application in the Salesforce Setup console. You can find detailed configuration instructions in Create a Connected App in the Salesforce documentation.
The following steps follow the Salesforce Lightning interface. You can find more information about Salesforce Classic in the Salesforce documentation. |
Steps
-
Sign on to Salesforce as an administrator.
-
On the Setup console, create a new connected app:
-
In the search bar, enter
App Manager
. -
Click Apps > App Manager.
-
On the Salesforce Lightning App Manager window, click New Connected App.
-
-
Under Basic Information, enter your PingFederate server details:
-
In the Connected App Name field, enter a name that you choose, such as
PingFederate Provisioning
. -
In the API Name field, enter a name that you choose without spaces or special characters, such as
PingFederateProvisioning
. -
In the Contact Email field, enter your email address.
-
(Optional) In the Description field, enter a description to display to end users.
-
-
Under API (Enable OAuth Settings), configure OAuth:
-
Select Enable OAuth Settings.
-
In the Callback URL field, enter
https://oauth.pingone.com/ocs/ppm/rest/v1/oauth/oastempcredresponse/
. -
In the Available OAuth Scopes list, add the following:
-
Access and manage your data (
api
) -
Access custom permissions (
custom_permissions
) -
Perform requests on your behalf at any time (
refresh_token
,offline_access
)
-
-
-
Click Save. If you receive a message that says allow 2 - 10 minutes for the changes to take effect, click Continue.
-
On the application detail page, note the Consumer Key and Consumer Secret.
You will use these credentials in Getting an API access token from Salesforce
-
Click Manage and then click Edit Policies.
-
On the Connected App Edit window, under OAuth policies for Refresh Token Policy, verify that Refresh token is valid until revoked is selected. Click Save.