You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
VS Code Codex extension stuck with "refresh token already used" – cannot re-authenticate (WSL, Google login) #14201
appIssues related to the Codex desktop appauthIssues related to authentication and accountsbugSomething isn't workingextensionIssues related to the VS Code extensionwindows-osIssues related to Codex on Windows systems
Environment:
Windows 11
VS Code
WSL Ubuntu
Google login
Codex extension installed in WSL
The extension never prompts for login again and remains stuck with:
"Your access token could not be refreshed because your refresh token was already used."
appIssues related to the Codex desktop appauthIssues related to authentication and accountsbugSomething isn't workingextensionIssues related to the VS Code extensionwindows-osIssues related to Codex on Windows systems
Activity
github-actions commentedon Mar 10, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
mkikunda commentedon Mar 10, 2026
This seems identical to issues #13238 and #12755.
Environment:
Windows 11
VS Code
WSL Ubuntu
Google login
Codex extension installed in WSL
The extension never prompts for login again and remains stuck with:
"Your access token could not be refreshed because your refresh token was already used."
etraut-openai commentedon Mar 10, 2026
You can log out using the last menu item under the gear icon. Then log in again. That should clear this problem.
If this occurs again, please use
/feedbackto upload your logs and post the thread ID here. That will help us diagnose the root cause of this issue.mkikunda commentedon Mar 10, 2026
The issue is now resolved.
Solution:
Open the Codex sidebar → click the gear icon → select the last menu item (Log out) → then sign in again.
This cleared the refresh token error:
"Your access token could not be refreshed because your refresh token was already used."
Thank you for the help.
fix(auth): extend the refresh-token-spend protection to codex