Configure a Device Flow

To integrate apps that run on devices with limited input or display capabilities, such as smart TVs, appliances, and other internet of things (IoT) devices, configure the Global OAuth Settings to include a device code, and enable the OAuth 2.0 device flow. Command-line apps can use this flow as well. Users can connect these apps to Salesforce by accessing a browser on a device with more advanced input capabilities, such as a desktop or mobile device.

Required Editions

Available in: Lightning Experience
Available in: Professional, Performance, Unlimited, and Developer Editions
User Permissions Needed
To configure an External Client App for OAuth 2.0 Device Flows View all External Client Apps, view their settings, and edit their policies

To enable or disable an external client app plugin, you must have an external client app on your Salesforce org. See Deploy an External Client App That References the Source Org’s Global OAuth Settings File.

This process is similar to the OAuth 2.0 Device Flow for IoT Integration.

  1. Open the External Client App Manager.
  2. From the actions dropdown list for the external client app that you want to configure, select Edit Settings.
  3. In the OAuth Settings section, select Enable OAuth in the OAuth Settings section.
  4. Configure basic OAuth settings.
  5. Select Enable Device Flow.
  6. Save the settings.