Under Connected Apps OAuth Usage, Salesforce CLI is not available to install. How to get it like below image enter image description here

  • Are you having difficulty authenticating to this org with the Salesforce DX command-line tool? Why are you manipulating the Connected App directly? – David Reed May 29 '19 at 16:13
  • This app is not available in my sandbox. I'm not able to connect visual studio with the sandbox. – Lokesh May 29 '19 at 16:38

The Saleforce CLI as you have it listed there no longer exists, and has been superseded by the newer CLI, which will be listed as the Force CLI instead. The first time you authenticate successfully, it will automatically be available in this list. To authenticate to a Sandbox, make sure you use the -r parameter:

sfdx force:auth:web:login -r https://test.salesforce.com -s

I'm not entirely sure that there's a GUI option for this, you should probably just run this command from a terminal instead (Ctrl-Shift-`).

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.