+ 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.