-
Notifications
You must be signed in to change notification settings - Fork 406
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vsCode Authorize an Org freezes in RemoteAccessAuthorizationPage #2931
Comments
@MeFon - Thanks for reaching out. Few questions:
|
Hi @smaddox-sf
|
more info: $ sfdx plugins --core |
Hi everyone. I'm experiencing a similar behavior on my machine. The local server on port 1717 is started, but the redirect from the browser is never registered for some reason. VS Code Version: 1.53.2 |
@matthias-seibert-tng as far as I can tell the issue is not with the VSCode extension pack, but with sfdx-cli itself. I started experiencing exactly what you describe after upgrading to 7.86.3, and downgrading to 7.26.0 solves it. |
Thanks! I ended up downgrading SalesforceDx to 48.22.11 which fixed the issue for me for now. Just for reference, the command I used is |
And I can confirm that worked for me as well on the new 7.88.4. Thanks @matthias-seibert-tng |
@matthias-seibert-tng just as a note, [email protected] also works for me. 50.2.0 crashes with a different issue. |
Glad it worked for you guys! I know it seems really drastic.... but I formatted my computer hahahahaha it works now though |
I had the same issue and just by uninstalling and reinstalling Salesforce CLI from my windows computer fixed the issue. |
I've tried reinstalling as well but it didn't fix the issue. Downgrading to [email protected] has resolved it though. Versions: |
As noted above, the root cause is within the CLI. We will keep this issue open for visibility or feel free to follow the CLI issue directly: forcedotcom/cli#881 |
Hi, thanks for logging this and providing info on what you are experiencing. The issue is with the Salesforce CLI (the vscode extensions delegate the auth flow to it). The CLI team is actively looking into this and you can follow issue forcedotcom/cli#890 for updates. I'll close this issue as a duplicate. |
I think the problem lies in GIT preparation. |
Summary
I created a new project with manifest in VS Code, but I am not able to authorize an Org to it. When I run crtl+shift+P >> SFDX: Authorize an Org >> Sandbox, it opens the authentication screen (test.salesforce.com), then I insert login + password and it keeps loading "forever", never actually authenticating. I saw some similiar issues here and I have already tried updating VS Code, SFDX CLI, Node JS; and changing the default browser. I also tried running
sfdx force:auth:web:login --setalias someAlias --instanceurl --setdefaultusername
but same result.
Steps To Reproduce:
Expected result
Org should be authenticated, so I could retrieve code from Org to Manifest.
Actual result
It stays frozen in loading screen.
VS Code Version: 1.53.0
SFDX CLI Version: sfdx-cli/7.86.3 linux-x64 node-v14.15.4
OS and version: Linux Ubuntu 20.04 LTS
The text was updated successfully, but these errors were encountered: