Skip to content

Cursor / VSCode - Potential Double Authentication on Open (minor annoyance) #633

Description

@clstopher

Describe the bug
Whenever I open Cursor, it immediately opens a browser window to authenticate with SF. After filling in my credentials and 2FA code (in case it matters, I use Google Authenticator for my second factor), the tab says "Authentication successful! You may close this browser window and return to your terminal." as expected, but before I have a chance to respond, a second browser tab opens with the same message.

NOTE: I just noticed - If I'm already authenticated before I open Cursor, I immediately get the 1 success tab opened, and no second tab opens. So it seems to be related to the process / timing of entering my credentials.

Environment

  • b2c-cli version: 1.21.3 darwin-arm64 node-v26.7.0
  • Node.js version: v22.23.1
  • OS: Mac OS Tahoe 26.6.2
  • Cursor version: 3.16.29
  • Salesforce B2C Commerce VSCode Plugin version: v1.1.1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions