Authorize an org runs indefinitely in browser
See original GitHub issueSummary
Running “Authorize an org” does not work. After logging in the browser the page loads infinitely.
Steps To Reproduce:
- In VS Code Cmd: SFDX: “Authorize an org” or via cli “sfdx force:auth:web:login -r https://(customerurl)–dev1.my.salesforce.com”
- Firefox 83.0 opens and I log in
- Infinite loop
Expected result
Successful authorization
Actual result
Infinite loop
Additional information
I’ve checked with two orgs where I have never been authorized so far. I’ve also tried Chromium, same behaviour. It used to work.
SFDX CLI Version:
sfdx-cli/7.82.1-0 linux-x64 node-v14.15.1
SFDX plugin Version(to find the version of the CLI plugin run sfdx plugins --core)
@oclif/plugin-autocomplete 0.1.5 (core) @oclif/plugin-commands 1.3.0 (core) @oclif/plugin-help 3.2.0 (core) @oclif/plugin-not-found 1.2.4 (core) @oclif/plugin-plugins 1.9.4 (core) @oclif/plugin-update 1.3.10 (core) @oclif/plugin-warn-if-update-available 1.7.0 (core) @oclif/plugin-which 1.0.3 (core) @salesforce/sfdx-diff 0.0.6 @salesforce/sfdx-trust 3.6.0 (core) alias 1.1.3 (core) analytics 1.12.1 (core) auth 1.4.5 (core) config 1.2.1 (core) generator 1.1.3 (core) salesforcedx 50.7.1 (core) ├─ schema 1.0.2 (core) ├─ templates 50.1.0 (core) ├─ custom-metadata 1.0.10 (core) ├─ apex 0.1.4 (core) ├─ salesforce-alm 50.7.1 (core) └─ @salesforce/sfdx-plugin-lwc-test 0.1.7 (core) sfdx-cli 7.82.1-0 (core)
OS and version: Ubuntu 20.10
Issue Analytics
- State:
- Created 3 years ago
- Comments:31 (1 by maintainers)
For now you can use an alternative authorization flow with
force:auth:device:login
.I experienced the same issue on Linux Mint 20
I was able to work around this issue by installing an older version (7.74.1).