API Access Control & FX Connected Apps
Introduction
As an admin, you can manage OAuth connected apps in use in your org. You can install apps to manage policies and block apps to prevent new sessions with the connected app. Additionally, you can block to end all current user sessions with the connected app.
Step-by-Step Guides
First you need to request API access, then you can enable API access control, Install FX Connected Apps and Edit Policies, Restrict API Access, Add a New Permission Set, and finally Add Permission Set to Users.
Request API Access (for Admins)
-
Before you can remove a user’s access to APIs, you must contact Salesforce Customer Support and request access control to the API. See Salesforce Help: Manage API Access.
The admin making the request receives two emails:
-
When the request is made
-
When the request is resolved
-
-
To verify that you have API Access Control,
-
Enter
api
in the Quick Find Search box.If you have access, you will see in the left nav:
-
-
At the API Access Control Settings screen, make sure the Allow Visualforce pages to access APIs checkbox is selected. If not, select it to enable.
Enable API Access Control
Once that is granted, follow these steps:
-
In FieldFX Back Office, enter Setup.
-
Use the Quick Find box, enter
OAuth
. -
Select Connected Apps OAuth Usage under Apps > Connected Apps.
-
Continue with Install FX Connected Apps and Edit Policies.
Install FX Connected Apps and Edit Policies
-
At the list of FX Connect Apps, click Install next to the app.
When the app is installed, Install changes to Uninstall.
-
At the prompt from Salesforce "Install connected app?", click Install.
When you have the connected app page after clicking Install, there is a Edit Policies button. The screen refreshes to show the page for the connected app you had installed.
-
To edit the policies for the connected app, click Manage App Policies.
The screen has editable fields.
-
In the OAuth Policies section,
-
Set the values for these fields:
Field Name Description / Action Permitted Users
(Required)Do Not Change from "All users may self-authorize" for now.
When you add the permission set to a user, change this to "Admin approved users are pre-approved".
IP Relaxation
(Required)Do Not Change from "Enforce IP restrictions"
Enable Single Logout
Checkbox
(Required)Do Not Change from the URL shown.
Refresh Token Policy
(Required)Do Not Change from "Refresh token is valid until revoked"
-
-
Click Save.
-
Open the Connected app permission set and navigate down to Permission Sets section.
Since you changed the setting when managing the policies of the connected app and changing the permitted users to "Admin approved users are pre-approved," the Manage Permission Sets button appears. This is needed to Add Permission Set to Users.
-
After all the needed FX Connected Apps are installed, continue to Restrict API Access.
For more information,
Restrict API Access
-
Follow the steps in Salesforce Help: Restrict Access to APIs with Connected Apps.
-
Continue with Add a New Permission Set.
Add a New Permission Set
Once you have added the FX Connected Apps, you need to add the connected app to a Permission Set.
-
Use the Quick Find box in Setup and enter
Perm
. -
Select Permission Sets under Administer > Manage Users.
-
Create a new permission set for each connected app that you added in Install FX Connected Apps and Edit Policies by following the steps in Add a new Permission Set.
-
Customize the permission set as follows:
Steps Field Description / Action 1. Enter New View
View Name
Name the permission set
FX Login Connected App
.2. Specify Filter Criteria
Enter any needed filter criteria.
To add more criteria, click Add Row and complete the filter specifics
3. Select Columns to Display
Search
You don’t need to search for any columns.
Available Settings
In the Selected Settings box, leave "Permission Set Label".
-
-
Click Save.
-
Continue with Add Permission Set to Users.
Add Permission Set to Users
-
Now you can add that new permission set to users by following the steps in Assign a Permission Set to Users.
-
In the FX Connected app, scroll down to the Permission Set section and click Manage Permission Sets.
-
At the Application Permission Set Assignment screen,
-
Select the permission sets for FX Connected Apps for each of the connected apps that are installed to the user’s profile.
-
Click Save.
-
-
Repeat these steps for all the FX Connected Apps you have installed.