Skip to content

feat(codex): add managed app-server auth flow - #584

Open
zeno-codebot wants to merge 3 commits into
jonwiggins:mainfrom
cbulock:zeno/codex-managed-auth-upstream-20260908
Open

feat(codex): add managed app-server auth flow#584
zeno-codebot wants to merge 3 commits into
jonwiggins:mainfrom
cbulock:zeno/codex-managed-auth-upstream-20260908

Conversation

@zeno-codebot

@zeno-codebot zeno-codebot commented Sep 8, 2026

Copy link
Copy Markdown

Summary

Add managed, workspace-scoped Codex app-server authentication. An administrator can establish a Codex login once, Optio stores the encrypted auth.json, and Codex workloads receive the hydrated credentials without exposing them broadly as environment variables.

Changes

  • Adds the codex_auth_accounts migration, schema, encrypted auth service, and setup endpoints.
  • Supports importing a successful codex login from a managed session, then hydrates credentials into task, workflow, review, and persistent-agent pods.
  • Adds Settings and setup UI for configuring, importing, and monitoring the managed account.
  • Formats all extracted changes with the upstream Prettier configuration.

Testing

  • Tests pass (corepack pnpm turbo test)
  • Typechecks pass (corepack pnpm turbo typecheck)
  • Formatting passes (corepack pnpm format:check)

Related

Clean extraction from cbulock/optio, excluding its unrelated review/reconciler work.

Closes #

Screenshots

Not applicable; the settings and setup interfaces are covered by typechecks and API/unit tests.

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.

1 participant