2

I just downloaded the force.com cli and executed the command force login in command line but the login window is not popping up. It just hangs until i press ctrl+c. How should i proceed ?

1 Answer 1

5

The source code for the CLI tool is available on GitHub. You could use that to investigate why the popup isn't occurring. In particular, start from the ForceLogin method.

You could also raise an issue there to get product specific support.

Maybe try the following syntax to do a credential based login. It might be that you're having problems popping up the browser window.

force login -u <username> -p <password> 
2
  • 1
    Turns out the firewall was blocking it. I just had to allow access to it. Thanks for the help though. :) Mar 30, 2016 at 17:20
  • 1
    No equals sign: force login -i &lt;org&gt; -u &lt;username&gt; -p &lt;passwordtoken&gt;
    – Emmett
    Apr 27, 2021 at 19:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .