Skip to content

Figma connection fails with “OAuth state not found” after browser authorization in Codex on Windows #56061

Open

Description

@clv-1902

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

  1. Open the Codex desktop app on Windows.
  2. Start installing/connecting the Figma plugin.
  3. Complete Figma authorization in the browser.
  4. 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.]

Image

What steps can reproduce the bug?

  1. Open the Codex desktop app on Windows.
  2. Find the Figma plugin and select Install/Connect.
  3. Complete Figma authorization in the browser.
  4. Return to Codex.
  5. 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

  1. added
    app
    on Oct 22, 2026
  2. added
    bug
    windows-os
    auth
    skills
    on Oct 22, 2026
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

    appauthbugskillswindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions