Skip to content

Mobile re-authorization prompt not showing after revoking device access #23055

Closed

Description

@ygjason

What version of the Codex App are you using (From “About Codex” dialog)?

Codex 26.513.31313 (2867)

What subscription do you have?

ChatGPT Plus

What platform is your computer?

Darwin 25.4.0 arm64 arm

What issue are you seeing?

What issue are you seeing?
After scanning the Codex Desktop QR code, the ChatGPT mobile app navigates to the Codex home screen but does not display the device authorization prompt (“Allow this phone to access Codex on your computer?”).
Steps to reproduce:

  1. Initially authorized Codex Desktop connection from ChatGPT mobile app (authorization successful)
  2. Revoked the device authorization from mobile app settings
  3. Scanned the Codex Desktop QR code again
  4. App navigates to Codex interface, but authorization prompt never appears, unable to re-authorize
    Expected behavior:
    After revoking authorization and scanning the QR code again, the authorization confirmation prompt should appear
    Actual behavior:
    The authorization prompt is completely absent. Mobile app shows as disconnected while desktop shows waiting for authorization.
    Attempted solutions:
    • Restarted both Codex Desktop and ChatGPT mobile app
    • Signed out and signed back in on both platforms
    • Uninstalled and reinstalled ChatGPT mobile app
    None of these resolved the issue. Suspected cause: Server-side environment record not properly cleared, causing client to skip authorization flow.

What steps can reproduce the bug?

Image

What is the expected behavior?

No response

Additional information

No response

Activity

  1. added
    appIssues related to the Codex desktop app
    on May 16, 2026
  2. added
    bugSomething isn't working
    authIssues related to authentication and accounts
    on May 16, 2026
  3. ygjason commented on May 18, 2026

    @ygjason
    Author

    The method provided in #23112 resolved my issue。

    1. Log out of the Codex app
    2. Open the ~/.codex/.codex-global-state.json file
    3. Delete the following keys
      electron-local-remote-control-installation-id
      electron-local-remote-control-environment-id
      codex-mobile-has-connected-device
    Image 4. Restart the Codex app and scan the QR code again to re-authorize.
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

    appIssues related to the Codex desktop appauthIssues related to authentication and accountsbugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions