Newer Version Available

This content describes an older version of this product. View Latest

Enable the Authorization Code and Credentials Flow

The Authorization Code and Credentials Flow is the foundation of headless login and headless registration. Enable this flow at an org-wide level.
Available in: both Salesforce Classic (not available in all orgs) and Lightning Experience
Available in: Enterprise, Unlimited, and Developer Editions

  1. From Setup, in the Quick Find box, enter OAuth, and then select OAuth and OpenID Connect Settings.
  2. Turn on Allow Authorization Code and Credentials Flows.
    You receive a warning that changing this setting can break your integrations.
  3. To accept the warning, click OK.
    With this flow enabled, you can access settings to turn it on for a specific connected app.

Example

Toggle to turn on the Authorization Code and Credentials Flow