<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
List the Salesforce Permission Sets Assigned to Okta Groups Using Postman
Okta Integration Network
Okta Classic Engine
Okta Identity Engine
Overview

Salesforce Application integration is configured in Okta, and some groups (Group1 and Group2) are assigned to this app. Each group has Permission Sets assigned to it.

Salesforce

  • Group1 has Permission Sets assigned as shown below:

Group permissions

  • Group2 has Permission Sets assigned as shown below:

Group permissions

This article explains how to retrieve a list of Permission Sets assigned to these groups.

 

Applies To
  • Salesforce
  • Permission Sets
  • Okta Classic Engine
  • Okta Identity Engine (OIE)
Solution

To to retrieve a list of Permission Sets, follow the steps below:

  1. Log in to the Okta Admin Console.

  2. Navigate to Security > API > Tokens > Create Token. Name the token and save the key somewhere safe.

    Create token 

  3. Download and install the Postman application on the device being used.

  4. After it is installed, launch the Postman application, then click on the Environment quick look as shown below.

    Environment quick look 

  5. Click Add, name it in the first field, under VARIABLE, type apikey, and under CURRENT VALUE, paste the API token created in Step 2.

  6. Next, in the second field, type url under VARIABLE, and under CURRENT VALUE, enter the org URL where the token in step 2 was created( for example, https://domain.okta.com). When done, click Save.

    Postman 
     

  7. Next, download the desired collections.

  8. The Groups (Okta API) / Group Operations / List Groups API command will be used:

{{url}}/api/v1/apps/{{appId}}/groups
  1. Replace {{appId}} with the application id. In Postman, go to the Apps collection and use the API command List Apps to retrieve the appId for the Salesforce app, for which a list of the Permission Sets assigned to groups should be pulled.

    Another way to get the appId is to go to Okta Admin Console > Applications > Applications > Salesforce app and copy the appId from the browser URL, as shown below.

    Salesforce 

 

  1. API call {{url}}/api/v1/apps/{{appId}}/groups will list all the groups assigned to the Salesforce app and include Permission Sets for each group assigned to the app.

    Postman 

 

Related References

Loading
List the Salesforce Permission Sets Assigned to Okta Groups Using Postman