Skip to content

feat: support Codex subscription sign-in#30

Merged
roackb2 merged 1 commit into
mainfrom
codex/codex-subscription-auth-editor
Jul 20, 2026
Merged

feat: support Codex subscription sign-in#30
roackb2 merged 1 commit into
mainfrom
codex/codex-subscription-auth-editor

Conversation

@roackb2

@roackb2 roackb2 commented Jul 20, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add an explicit API key or Codex subscription model-access choice in the agent panel.
  • Acquire an OpenAI device-code credential through the authenticated SlideX agent server.
  • Keep API keys, device challenges, and Codex access tokens only in browser memory and forget them on refresh.
  • Send one typed model credential with each run-start request.

Security boundary

  • Verification links are accepted only from https://auth.openai.com.
  • SlideX never asks for the OpenAI password and never writes model credentials to browser storage.
  • The server remains responsible for exchanging device codes and must not persist runtime credentials.

Dependency checkpoint — do not merge yet

This editor PR depends on roackb2/slidex-agent-server#27. The server PR in turn depends on roackb2/heddle#261 being merged, published, and replacing its temporary commit pin with an exact registry version. Keep this PR in draft until that chain is released and the real end-to-end device flow is verified.

Verification

  • npx tsc --noEmit
  • npm run lint
  • npm test — 204 tests
  • npm run test:agent — 14 tests
  • npm run test:agent:e2e — 20 browser tests
  • npm run build — 47 routes
  • npm run build:scan-secrets — PASS

@roackb2
roackb2 marked this pull request as ready for review July 20, 2026 16:07
@roackb2
roackb2 merged commit abb299d into main Jul 20, 2026
1 check passed
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