cli icon indicating copy to clipboard operation
cli copied to clipboard

❗️❗️ `sf org login web` command may fail when used with Google Chrome `v123`

Open VivekMChawla opened this issue 1 year ago • 2 comments

We have received reports that a recent update to Google Chrome (Chromedriver v123) may cause issues when authorizing orgs using the sf org login web command in combination with Google Chrome.

The error reported is Error (1): Invalid request method: OPTIONS, which occurs after executing sf org login web.

As a workaround, affected users can temporarily switch to a different browser while we investigate the issue. For example, if Chrome is your default browser, you can modify the sf org login web command as follows:

sf org login web -b firefox -a NewAuthenticatedOrg

Thanks for your patience as we work on a fix.

VivekMChawla avatar Mar 21 '24 17:03 VivekMChawla

We have determined that the issue you reported exists in code owned by another team that uses only the official support channels. To ensure that your issue is addressed, open an official Salesforce customer support ticket with a link to this issue. We encourage anyone experiencing this issue to do the same to increase the priority. We will keep this issue open for the community to collaborate on.

github-actions[bot] avatar Mar 21 '24 17:03 github-actions[bot]

We got a fix for this in latest-rc sf v2.34.7, see install instructions if you want to give it a try: https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_install_cli_rc.htm

or wait until it's promoted to stable next Wednesday.

cristiand391 avatar Mar 22 '24 22:03 cristiand391

This is resolved since 2.34.7 is now latest. If you have the issue, update your CLI.

mshanemc avatar Mar 28 '24 13:03 mshanemc