Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
Version 26.1016.51333
What subscription do you have?
Business
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
Description
Connecting the Figma plugin in the Codex desktop app fails with “OAuth state not found” after completing authorization in the browser.
The same Figma account connects successfully through ChatGPT in the browser.
Steps to reproduce
- Open the Codex desktop app on Windows.
- Start installing/connecting the Figma plugin.
- Complete Figma authorization in the browser.
- Return to Codex.
Expected behavior
The Figma connection completes and the plugin becomes available.
Actual behavior
Codex displays “OAuth state not found” and continues showing “Finish connecting Figma in your browser.”
Troubleshooting performed
- Signed out of Codex.
- Fully closed and reopened the app.
- Signed back in and retried.
- Checked the active config: Figma is enabled, with no custom Figma MCP server, OAuth callback override, or API base URL configured.
- No HTTP_PROXY, HTTPS_PROXY, or ALL_PROXY environment variables were set.
The error persists.
Log evidence
The latest recorded attempt shows:
- 2026-10-22T02:28:51.634Z — Pending OAuth state registered.
- 2026-10-22T02:28:56.541Z — Callback received by Codex (
callbackOwned=true). - 2026-10-22T02:28:56.770Z — Callback completion failed with HTTP 404.
Error response: {"detail":"OAuth state not found"}
Diagnostic ID: 52df35a3-8ac3-4182-a7b2-39bc41d51719
The callback returned approximately five seconds after starting the connection.
Environment
- OS: Windows
- Client: Codex desktop app
- Integration: Figma plugin
- Codex version: [add version]
- Browser and version: [add browser/version]
- Reproduced: October 22, 2026, 10:28 AM, Asia/Manila (UTC+8)
Screenshot
[Attach the screenshot showing the error.]
What steps can reproduce the bug?
- Open the Codex desktop app on Windows.
- Find the Figma plugin and select Install/Connect.
- Complete Figma authorization in the browser.
- Return to Codex.
- Codex displays “OAuth state not found” and remains on “Finish connecting Figma in your browser.”
This persists after signing out, fully closing and reopening Codex, signing back in, and retrying. The same Figma account connects successfully in ChatGPT’s browser.
What is the expected behavior?
After completing Figma authorization in the browser, Codex should finish connecting the Figma plugin, dismiss the connection prompt, and make the plugin available without an error.
Additional information
No response
Activity
github-actions commentedon Oct 22, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action