6 respuestas
Hi,
Steps to authenticate VS code with Salesforce Org:
1. Add the enviornment variable in your system:
go to my computer right click on properties then on advanced setting, Click Environment Variables - Click New
Enter below :
Variable : HTTP_PROXY
Value : http://proxyusername:port
*Value is your company proxy.
2. Go to cmd promt type set HTTP_Proxy=http://proxyusername:port
make sure to enter your company proxy and port in above format.
3. Go to Visual Studio code type : sfdx force:auth:web:login -a abc22 -d
* If visual studio is already open please close first and then enter above code. -a is for alias and -d is for default.
It will open a new window, login with your credentials and allow access.
You will get success full message on Visual studio code.
Thanks,
Siddhant
Hope this will help.