Skip to content

sf org login web takes a very long time to return #3370

@pgonzaleznetwork

Description

@pgonzaleznetwork

Expected result

When I run sf org login web --alias longtime --instance-url https://login.salesforce.com , and successfully log in, it takes up to 45 seconds or so for the success message to be printed to the console. I'd expect this to happen relatively immediately as it was before.

Steps to reproduce

Run sf org login web --alias longtime --instance-url https://login.salesforce.com
Enter your credentials, close the browser window
The command remains open for like 45 seconds before the success message shows up (i.e Successfully authorized admin@happysoup.io with org ID 00DWU00000TUgZ12AL)

Additional information

System Information

CLI:
@salesforce/cli/2.101.5 darwin-arm64 node-v22.14.0

Plugin Version:
@oclif/plugin-autocomplete 3.2.34 (core)
@oclif/plugin-commands 4.1.31 (core)
@oclif/plugin-help 6.2.32 (core)
@oclif/plugin-not-found 3.2.63 (core)
@oclif/plugin-plugins 5.4.46 (core)
@oclif/plugin-search 1.2.28 (core)
@oclif/plugin-update 4.7.3 (core)
@oclif/plugin-version 2.2.32 (core)
@oclif/plugin-warn-if-update-available 3.1.46 (core)
@oclif/plugin-which 3.2.39 (core)
@salesforce/cli 2.101.5 (core)
agent 1.24.1 (core)
apex 3.6.19 (core)
api 1.3.3 (core)
auth 3.7.16 (core)
data 4.0.50 (core)
deploy-retrieve 3.22.37 (core)
info 3.4.77 (core)
limits 3.3.62 (core)
marketplace 1.3.8 (core)
org 5.9.19 (core)
packaging 1.25.0 (user)
schema 3.3.77 (core)
settings 2.4.40 (core)
sobject 1.4.67 (core)
telemetry 3.6.52 (core)
templates 56.3.57 (core)
trust 3.7.113 (core)
user 3.6.32 (core)
flosum-sfdx-plugin 0.3.3 (user)
sfdmu 4.30.0 (user)
SF ENV. VARS.
SF_AUTOUPDATE_DISABLE,true
SF_DISABLE_AUTOUPDATE,true
SF_UPDATE_INSTRUCTIONS,Use "npm update --global @salesforce/cli" to update npm-based installations.
Windows: false
Shell: zsh
Channel: stable

Diagnostics

✅ pass - salesforcedx plugin isn’t installed
✅ pass - you don't have any linked plugins
❌ warn - [@salesforce/plugin-deploy-retrieve] sourceApiVersion matches apiVersion
✅ pass - [@salesforce/plugin-trust] can ping: https://registry.npmjs.org
✅ pass - [@salesforce/plugin-trust] can ping: https://registry.yarnpkg.com
✅ pass - [@salesforce/plugin-trust] can ping: https://registry.npmjs.org/
❌ fail - using latest or latest-rc CLI version
✅ pass - can access: https://test.salesforce.com
✅ pass - can access: https://appexchange.salesforce.com/services/data
❌ fail - [@salesforce/plugin-auth] CLI supports v2 crypto
✅ pass - can access: https://developer.salesforce.com/media/salesforce-cli/sf/channels/stable/sf-win32-x64-buildmanifest

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions