function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Matthew P CraigMatthew P Craig 

Is it possible to login to an org via sfdx using a url and a sessionId?

Using various tools like python's simple-salesforce or sfdclib, a developer could connect to a SalesForce org using an instance URL and a SessionID.  I am unsure of how to connect to an org with SFDX using the same information.

1. Is it possible to connect to a Salesforce org using SFDX given the instance url/sessionId?
2. How would I do it?

Thanks in advance.