Closed ghost closed 4 years ago
@octos4murai - Thanks for reporting this issue. I'm trying to reproduce this but I'm not having this issue locally using 'Authorize a Dev Hub' or 'Authorize an Org'.
You mentioned in your steps "When prompted, specify the login url and org alias.". Are you using a sandbox, custom url, production, or project default ( scratch org in my case )?
@dehru - Thanks for looking into this. I encountered this issue all last week up to this morning when I choose either 'Authorize a Dev Hub' or 'Authorize an Org'. Please note that the issue never came up for me if not running within a Docker container. I also never encountered this issue before last week.
To answer your other question, I have tried using custom URL, sandbox, and production -- all resulting in the same error. With all that said, I just tried again -- and can no longer reproduce the error although I changed nothing in my steps to reproduce.
That frustrating. I developed the device login command and I’ve seen that error during development. The command is supposed to obey the correct polling interval, but there could be a bug around that. So let me know if you encounter it again and I’ll re-open this.
Summary
When running SFDX: Authorize an Org within the SalesforceDX container using VS Code Remote Containers, the following error is encountered:
Steps To Reproduce:
Expected result
The user is able to click the verification URL and enter login credentials. VS Code (within the Docker container) is authenticated into the org.
Actual result
The following error is shown:
Even if the user proceeds to log into Salesforce using the provided URL, VS Code does not register this authentication because of the error.