Skip to content

VS Code extension authentication fails after update (attachAuth=false, GET /settings/user returns 403) #35162

Description

@wyltonmendes100-cpu

What version of the IDE extension are you using?

openai.chatgpt-26.5721.30844-win32-x64

What subscription do you have?

openai.chatgpt-26.5721.30844-win32-x64

Which IDE are you using?

Visual Studio Code 1.130.0

What platform is your computer?

Windows 11 x64

What issue are you seeing?

The ChatGPT VS Code extension fails to authenticate.

The sidebar only displays:

Oops, something went wrong

The ChatGPT website, Codex website and platform.openai.com all work correctly with the same account.

Environment:

  • VS Code 1.130.0
  • Windows 11 x64
  • Extension: openai.chatgpt-26.5721.30844-win32-x64
  • Login: Google
  • Subscription: ChatGPT Pro

Output log:

routePattern=/settings/user
status=403
attachAuth=false
attachIntegrityState=false

Additional observations:

  • ChatGPT Web works correctly.
  • Codex Web works correctly.
  • Platform works correctly.
  • The account is authenticated.
  • Reinstalling the extension did not help.
  • Tested both Release and Pre-Release.
  • VS Code is fully updated.
  • The extension does not expose any Sign In or Sign Out command.
  • The request to /settings/user is sent with attachAuth=false, which results in HTTP 403.

The issue started suddenly after previously working normally.

The extension was working until approximately 01:00 (local time). Around 07:00 on the same day it started consistently showing "Oops, something went wrong" without any local configuration changes.

If needed, I can provide:

  • VS Code Output logs
  • Developer Tools logs
  • Network logs
  • Screenshots

What steps can reproduce the bug?

  1. Install the ChatGPT VS Code extension (openai.chatgpt-26.5721.30844-win32-x64).

  2. Sign in using a Google account with an active ChatGPT Pro subscription.

  3. Open the ChatGPT sidebar.

  4. Open the Codex panel.

  5. The panel immediately displays:

Oops, something went wrong

  1. Open View → Output → Codex.

  2. The following log appears:

routePattern=/settings/user
status=403
attachAuth=false
attachIntegrityState=false

The issue happens consistently on every VS Code restart.

What is the expected behavior?

The ChatGPT/Codex extension should authenticate successfully and display the normal Codex interface without any authentication errors.

Additional information

Additional information:

  • ChatGPT Web works correctly.

  • Codex Web works correctly.

  • platform.openai.com works correctly.

  • Login is performed with Google.

  • Subscription is ChatGPT Pro.

  • The issue started suddenly after previously working normally.

  • Reinstalling the extension did not help.

  • Tested both Release and Pre-Release versions.

  • VS Code is fully updated.

  • The extension does not expose any Sign In or Sign Out command.

  • Output log consistently shows:
    routePattern=/settings/user
    status=403
    attachAuth=false
    attachIntegrityState=false

  • The extension attempts to access /settings/user without attaching authentication.

Image Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    authIssues related to authentication and accountsbugSomething isn't workingextensionIssues related to the VS Code extensionwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions