You need to sign in to do that
Don't have an account?
Salesforce CLI: auth web login - browser doesn't open the login page
Hello,
I have been trying to login to DevHub using CLI but weirdly, when I use the force:auth command, the browser doesn't even open. I am very new to using the CLI and please let me know if I'm missing something.
Thanks in advance!
I have been trying to login to DevHub using CLI but weirdly, when I use the force:auth command, the browser doesn't even open. I am very new to using the CLI and please let me know if I'm missing something.
Thanks in advance!
Have you used this next command ?
sfdx force:auth:web:login -r https://login.salesforce.com -a YourAlias
It should launch your default browser
Courage