Skip to content

OAuth providers

Salesforce

Set up Salesforce OAuth for CRM and sales automation

Connect your users to Salesforce for CRM data, opportunity management, contact records, and sales automation.

PropertyValue
Provider IDsalesforce
CategoryPopular
PKCESupported (configurable; recommended)
Token refreshAutomatic
Redirect URIShown in Developer Portal

Step 1: Create a Salesforce External Client App

Section titled “Step 1: Create a Salesforce External Client App”

Log into your Salesforce org

Navigate to login.salesforce.com and sign in.

Open External Client App Manager

Go to Setup. In the Quick Find box, search for External Client App Manager and open it. Click New External Client App.

Enter basic information

Fill in:

  • External Client App Name and API Name (auto-populated)
  • Contact Email
  • Distribution State — Local for single-org use, Packaged for distribution across orgs

Enable OAuth settings

Enable OAuth Settings and add the Alter callback URL from the Developer Portal to the Callback URL field. Select the OAuth scopes the application needs (e.g., api, and refresh_token to enable refresh tokens).

Configure OAuth policies

After creating the app, open the Policies tab and click Edit. In the OAuth Policies section, enable the OAuth flows the application will use (Authorization Code is required for the standard web flow) and save.

Get credentials

Open SettingsOAuth Settings to copy the Consumer Key (Client ID) and Consumer Secret (Client Secret). Salesforce may require email verification before revealing the secret.

Open the Developer Portal

Go to portal.alterauth.com and navigate to the application.

Add Salesforce provider

Go to OAuth Providers > Add Provider > Salesforce.

Enter credentials

  • Client ID: Paste your Salesforce Consumer Key
  • Client Secret: Paste your Salesforce Consumer Secret

Select scopes

Choose the scopes the application needs.

Save

Click Save. The provider is now active.

ScopeDescription
apiAccess the Salesforce REST API
refresh_tokenObtain a refresh token for long-lived access
fullFull access to all accessible data
idAccess to the user’s identity URL
chatter_apiAccess to Chatter API
webAccess to web services