Configuring the OAuth Service in Foundations

The OAuth Service is an additional authentication service that is introduced when accessing the Salesforcemetadata APIs. An administrator can grant permissions to the applicable connected app to enable the OAuth service.

To configure the OAuth service you need to revoke the default behavior of the connected app.

To revoke:

  1. Navigate to User | Settings | Advanced User Detail | OAuth Apps.
  2. Click Revoke next to the OAuth Service App.
Note: The same applies if you have invoked the OAuth Service but want to revoke and enable approval again.

The OAuth Service in the Feature Console

Note: Manual feature steps and feature steps that update page layouts do not require authentication from the OAuth Service.

In the Feature Console, when you click Perform, you are redirected to the Salesforce page, where you:

  • Click Allow to allow access to User and connected apps. Then you are redirected back to the feature console.
  • Click Deny to deny access. Then you are redirected to the feature console and an OAuth login error message is displayed.
Note: If your access token has expired and a new access token is granted then you are not required to approve the access to the connected apps if you have already approved it.

Installing and Customizing the Foundations OAuth Service Connected App

To install the OAuth Service connected app:

  1. Navigate to Setup | Connected App | OAuth Usage.
  2. Install the OAuth Service Connect App. If this app is not installed then the default behavior of the connected app is in use.
Note: The connected app is listed in this page only if you have approved its access.

You can customize the behavior of the connect app by installing the connecting app and editing the policy options and other configuration settings. For more information on configuring connected apps, see the Salesforce Help.