You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
sfdx force:auth:web:login -r https://login.salesforce.com ==> Browser just loads forever. #881
The browser opens the salesforce authentication page.
After entering the credentials & authorizing CLI for access, browser just loads forever.
I even tried by changing default browser to 'Edge', 'FireFox', 'Chrome' one by one, none worked.
Expected result
The org should be successfully authorized.
Actual result
Browser loads for ever..
Additional information
Reacted by Doug Midgley, honkytonkbadonkadonk, Brian Caughell, Jamie Smith, Heber, An T. NGUYEN, MarcInkConsulting, Scott, Randal Andrade Nunes, smileham and 4 more
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.
Activity
github-actions commentedon Feb 25, 2021
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.
grieve54706 commentedon Feb 25, 2021
Try
jsmithdev commentedon Feb 25, 2021
tried but no luck.
i also tried
npm i [email protected] -gto install older version with no luckgoing to try installing other versions...
we can not make and edit lwc without sfdx so this is very bad. if anyone finds a work around so we can do our jobs, please share
AnsCodeLab commentedon Feb 26, 2021
Got the same problem today. Here are the last lines when using flag --dev-debug
` sfdx:WebServer DEBUG Starting web server +0ms
sfdx:WebServer DEBUG Nothing listening on host: localhost port: 1717 - good! +20ms
sfdx:WebServer DEBUG socket connection initialized from 127.0.0.1 +5s
sfdx:WebServer DEBUG socket connection initialized from 127.0.0.1 +249ms`
grieve54706 commentedon Feb 26, 2021
Now, My condition is
I tried to upgrade and downgrade salesforcedx and sfdx-cli
Finally, I find my sfdx plugin has auth
I uninstall it, then it works
Maybe you can try to downgrade salesforcedx to my version
AnsCodeLab commentedon Feb 26, 2021
@grieve54706 Nice, it works for me. Thanks.
jsmithdev commentedon Mar 1, 2021
@grieve54706 thanks for the listing 👍
#864 seems same issue.
steps
npm i [email protected] -gsfdx plugins:install [email protected]...and used nvm for node version switching
nvm install 14.15.4nvm use 14.15.4results
once
sfdx force:auth:web:loginworked, i ran and got below:sfdx -vsfdx-cli/7.88.4 linux-x64 node-v14.15.4
sfdx plugins --core@oclif/plugin-autocomplete 0.3.0 (core)
@oclif/plugin-commands 1.3.0 (core)
@oclif/plugin-not-found 1.2.4 (core)
@oclif/plugin-plugins 1.10.0 (core)
@oclif/plugin-warn-if-update-available 1.7.0 (core)
@oclif/plugin-which 1.0.3 (core)
@salesforce/lwc-dev-server 2.10.0
├─ @oclif/plugin-update 1.3.10
└─ @oclif/plugin-help 2.2.3
@salesforce/sfdx-diff 0.0.6
@salesforce/sfdx-trust 3.6.0 (core)
alias 1.1.7 (core)
auth 1.4.8 (core)
config 1.2.5 (core)
generator 1.1.5 (core)
salesforcedx 48.22.11 (48.22.11)
├─ salesforcedx-templates 48.18.0
├─ salesforce-alm 48.24.3
├─ @salesforce/sfdx-plugin-lwc-test 0.1.7
└─ custom-metadata 1.0.4
sfdx-cli 7.88.4 (core)
sfdx-ext 0.0.49
telemetry 1.1.1 (core)
randal923 commentedon Mar 1, 2021
Having the same issue. Auth does show in my plugins but I can't uninstall it.
sfdx-cli/7.88.4 wsl-x64 node-v14.15.4grieve54706 commentedon Mar 1, 2021
My case is I install another auth plugin
You can just try to do this
randal923 commentedon Mar 1, 2021
That worked for me. Thanks!!
rtoepfer commentedon Mar 1, 2021
I've been running sfdx force:auth:device:login as a workaround while this issue is open.
ilo4 commentedon Mar 2, 2021
I had the same issue.
Downgrading with " sfdx plugins:install [email protected] " did not work for me.
I effectively had to uninstall salesforce cli; reinstall latest version and then run :
sfdx plugins:uninstall auth
With that it's working again for now ...
amanrawat1993 commentedon Mar 9, 2021
This one worked for me,
sfdx plugins:install [email protected]
sfdx plugins:install [email protected]
Rohit496 commentedon Mar 9, 2021
Hello All,
I got some error in jenkins below you can see
C:\Windows\system32\config\systemprofile\AppData\Local\Jenkins.jenkins\workspace\SCSDevOps_>C:"Program Files""Salesforce CLI"\bin\sfdx auth:jwt:grant --clientid 3MVG9fe4g9fhX0E43UVmaCSnNuTBm276ttpeJuWSKS0l5TmJXMSGSNJxOgtCwV6kIv8ySP_liAUHKh6p_yRD6 --username [email protected] --jwtkeyfile **** --loglevel DEBUG --setdefaultdevhubusername --instanceurl https://login.salesforce.com/
ERROR running auth:jwt:grant: We encountered a JSON web token error, which is likely not an issue with Salesforce CLI. Here’s the error: error:02001005:system library:fopen:Input/output error
[Pipeline] echo
inside rc 0
[Pipeline] error
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: hub org authorization failed
Finished: FAILURE
RodEsp commentedon Mar 10, 2021
Yep, this is a duplicate of #890 which was fixed by forcedotcom/sfdx-core#384.