I’m facing two issues with the Codex plugin in VSCode on Windows 10:
Token Exchange Failed: After clicking “Sign in with ChatGPT,” I enter credentials and verification code, select a workspace, and get redirected to ‘http:/localhost:1455/auth/callback?… ‘ It shows: “Token exchange failed: token endpoint returned status 403 Forbidden”.
Workspaces Not Found: Sometimes, I get “Workspaces not found in client auth session” instead.
Environment:
OS: Windows 10
VSCode Version: 1.1.1.1
Codex Plugin Version: v0.4.15
Browser: Chrome Chromium 134.0.6998.136
Tried:
Clearing browser cache/cookies.
Using system proxy settings (no effect).
Reinstalling Codex plugin.
No firewall/antivirus.
Has anyone faced these errors? Any fixes for the 403 Forbidden or “Workspaces not found” issues? Thanks for any help!
Browser
Use system proxy
Under Settings – Network Settings – Use system proxy settings – No proxy for
{localhost, 127.0.0.1}
You may noticed that after you re-open your pc, the vscode can not be opened properly, for everytime you wanna open your vscode, type
{code --disable-layout-restore --user-data-dir /tmp/vscode-fix &
}