SFDX: Login to Org using SessionId

Whenever you're working with SFDX, to login to org using sessionID follow the below 2 steps.


Step:1 Configure Instance URL
sfdx force:config:set instanceUrl=<your instance URL>

Step:2 Pass your sessionid to login
sfdx force:org:open -u <session ID>

tHiNk gooD and dO thE bEsT.........MANJU NATH 🌝

Comments

  1. Manju, can you please confirm if this is still working? Happened to try it today and looks like its not working so want to know if its broken or if I am doing something wrong.

    ReplyDelete

Post a Comment