feat(proxy): support OAuth callers for Codex Live Voice - #1577
Conversation
|
To use Codex here, create an environment for this repo. |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f807e55d62
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 26d657492b
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ddddd6b463
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5959e764eb
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…obal-policy # Conflicts: # tests/integration/test_migrations.py # tests/unit/test_db_migrate.py
|
@codex review |
|
Codex Review: Didn't find any major issues. Bravo. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0bc228d88b
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| **Codex CLI falls back to POST instead of WebSockets.** | ||
| Run the [WebSocket verification steps](client-setup.md#verify-websocket-transport). If codex-lb sits behind a reverse proxy, make sure it forwards WebSocket upgrades — see [Remote Access](deployment/remote.md). | ||
|
|
||
| ## Live Voice |
There was a problem hiding this comment.
Link Live Voice pages to their owning spec
The new Live Voice material here, along with the additions in docs/client-setup.md and docs/configuration.md, links only to docs/live-voice.md; none of these affected pages links directly to openspec/specs/realtime-api-compat, and their existing footer links name unrelated capabilities. Add the owning capability link to each affected page so the published guidance remains directly traceable to its normative requirements.
AGENTS.md reference: AGENTS.md:L39-L39
Useful? React with 👍 / 👎.
Summary
Support Codex Live Voice through codex-lb for both the built-in
openaiOAuth provider and registered Proxy API Key clients. OAuth callers use the zero-key origin boundary plus a Settings-managed upstream account pool, while call creation and every sideband route remain bound to the same serving account.Type of change
fix:— bug fix (no behavior change beyond the bug)feat:— new user-facing feature or capabilityrefactor:— internal refactor (no behavior change, no API change)docs:— documentation onlychore:/ci:/build:— tooling, CI, packagingtest:— test-only changeLinked issue: Related to #1492.
OpenSpec
Change directory:
openspec/changes/add-oauth-live-voice-auth/Capabilities:
realtime-api-compatdatabase-migrationsfrontend-architectureChanges
Live caller admission and ownership
sk-clb-*callers on strict Proxy API Key authentication, assignment, limits, attribution, and affinity.chatgpt-account-id; credentials and raw account headers are never persisted.Policy and persistence
Settings and client profiles
openaiOAuth profile and registered Proxy API Key profile, including both experimental realtime base URLs.Simplicity
CODEX_LB_*environment setting is added..env.exampleentry, dashboard navigation item, or dependency is addedTest plan
Local verification:
Manual Codex Desktop acceptance:
openaiOAuth providerBoth realtime base URLs targeted codex-lb during Live Voice acceptance.
Screenshots / output
Before
No OAuth Live policy control was available in Settings.
After
Settings exposes the default-off OAuth Live policy and compact upstream account selector.
Checklist
<type>(<scope>)?: <subject>).make ci-fastlocal gate.openspec validate --specs --strictpasses and the OpenSpec change is complete.