Skip to content

[Windows][API-key sign-in] Projects disappear and welcome screen returns after every restart #60334

Open

Description

@isaber999

Summary

On my Windows Codex desktop installation, signing in with an API key repeatedly shows the welcome/onboarding screen and fails to retain or restore the expected project list. Signing in with my ChatGPT account on the same computer restores the project list and normal working state.

This affects multiple projects, not just one repository. Please investigate and fix project-state persistence and repeated onboarding in the API-key sign-in path.

Environment

  • Platform: Windows desktop
  • Windows package: OpenAI.Codex
  • Affected Windows package version reported by the user: 26.1103.4239.0
  • Authentication that triggers the issue: API key
  • Control case: ChatGPT account sign-in on the same computer works normally
  • Update check on November 9, 2026: up_to_date on the configured channel
  • The updater separately reports application version 26.1103.32239, build 25471, channel prod. This is recorded separately from the Windows package version above.

Steps to reproduce on the affected computer

  1. Open the Codex desktop app on Windows.
  2. Sign in with an API key.
  3. Observe that the project list is empty or does not display the existing projects.
  4. Close and restart the app.
  5. Observe that the welcome/onboarding screen appears again and the expected project state is still not retained/restored.
  6. Switch to ChatGPT account sign-in on the same computer.
  7. Observe that the project list and normal working state return.

The user reports that this repeats across restarts.

Expected behavior

  • API-key local workflows should retain a stable project state across app restarts.
  • Completed onboarding should remain completed.
  • If projects or conversations are intentionally separated by authentication mode, the app should explain that separation clearly and consistently preserve the API-key environment's own state.
  • Recovery should preserve existing project/chat associations and history.

This report is not a request to bypass account or workspace access controls.

Actual behavior and additional observations

  • The project list is missing or empty when signed in with an API key.
  • The welcome/onboarding screen repeatedly returns after restarting the app.
  • Multiple projects are affected.
  • According to prior local inspection reported by the user, project and chat records still exist in the local database; permanent deletion of those records has not been established.
  • Attempts to restore project state manually did not persist: the app overwrote the restored state again after restarting.
  • API-key-created historical chats may be labeled as API-key conversations, but the user cannot continue them after switching to ChatGPT sign-in. Whether that cross-authentication limitation is intended is unknown; it is recorded as an additional observation, not proof of the persistence bug's cause.

Current workaround and impact

I currently keep the desktop app signed in with my ChatGPT account and use API keys in separate CLI/API tools. This avoids the affected desktop sign-in path but does not fix it.

Repeated onboarding and disappearing project organization prevent reliable use of API-key sign-in in the desktop app.

Diagnosis status

The difference between API-key and ChatGPT sign-in suggests an authentication-dependent state-loading, initialization, migration, or persistence problem. The internal root cause has not been confirmed. It is also not established that this is a regression introduced in the latest release.

No logs, database files, credentials, or conversation contents are attached. The reproduction and prior local-inspection observations above are user-reported, not an independently reproduced engineering diagnosis.

Possibly related reports

These reports have similar symptoms, but an identical root cause has not been established. This issue specifically records the API-key versus ChatGPT sign-in difference and repeated welcome screen.

Request

Please investigate this API-key sign-in behavior and provide a durable fix, or a supported recovery procedure that preserves existing projects and chat associations. Guidance on which sanitized diagnostic fields would help identify the problem would also be appreciated.

Submitted in English with Codex assistance at the affected user's explicit request.

Activity

  1. added
    bug
    app
    windows-os
    auth
    session
    on Nov 9, 2026
  2. github-actions commented on Nov 9, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

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

    appauthbugsessionwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions