Add login device flow to IC

Issue #2404 open
Justin Julicher created an issue

Currently IC only offers OAuth login for SFDX CLI.

A new option is the device flow which I believe could be easily integrated into the connections section in the App Setup.

It uses similar syntax to the OAuth flow:

sfdx org login device --set-default-dev-hub --alias TestOrg1

{
"user_code": "08T3AY9D",
"device_code": "UGxhdGZvcm1dfsafdszMzc0NTIwMjswOFQzQVg5QQ",
"interval": 5,
"verification_uri": "https://instance.my.salesforce.com/setup/connec
}

This helps get round corporate restrictions around ports opening on the local machine and other security policies.

Comments (6)

  1. Log in to comment