Skip to content

fix(codex): preserve official auth per instance - #1972

Open
MARYCOMPLEX wants to merge 1 commit into
jlcodes99:mainfrom
MARYCOMPLEX:instance-official-auth-provider
Open

fix(codex): preserve official auth per instance#1972
MARYCOMPLEX wants to merge 1 commit into
jlcodes99:mainfrom
MARYCOMPLEX:instance-official-auth-provider

Conversation

@MARYCOMPLEX

@MARYCOMPLEX MARYCOMPLEX commented Aug 17, 2026

Copy link
Copy Markdown

Fixes #1240
Fixes #1802

Problem

Codex instances treated the login identity and API routing as one selection. Binding an account could replace the default OAuth identity and routing config, breaking setups that keep the official login while sending model requests through a third-party provider. The speed control was also missing from the official-login flow.

Solution

  • Store the official OAuth account separately from the selected API provider for each instance.
  • Project official credentials and provider routing together without replacing the instance identity.
  • Reuse the account picker for both selections, including plan and quota details.
  • Keep the speed selector available and make clearing the official account explicit across the Tauri command boundary.
  • Add localized copy for the new flow.

Testing

  • npm run build
  • cargo check --manifest-path src-tauri/Cargo.toml
  • cargo fmt --all -- --check

Demo

Watch the video

Keep the official OAuth identity separate from the selected API provider for each Codex instance. Reuse the account picker for auth binding and keep speed controls available for official sessions.

Fixes jlcodes99#1240
Fixes jlcodes99#1802
@MARYCOMPLEX

Copy link
Copy Markdown
Author

@miso777 @Parcheal Could you give this a try and let me know if it works with your setup?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug][Codex][v1.3.15] OAuth 绑定覆盖 CC Switch 接管配置,破坏“官方登录 + 第三方 API”双轨模式 fast模式不显示了

1 participant