[PR #10011] fix(codex): write refresh tokens to openai auth (#10010) #13300

Closed
opened 2026-02-16 18:18:10 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/10011

State: closed
Merged: Yes


Summary

Update the Codex OAuth refresh flow to write refreshed tokens back to the openai auth entry, preventing duplicate codex credentials and keeping auth list consistent.

Fixes #10010

Changes

  • Store refreshed Codex OAuth tokens under openai instead of codex

AI Assistance

  • Tools: OpenCode + openai/gpt-5.2-codex
  • Testing: bun turbo typecheck
  • Review: Human operator reviewed changes

Notes

  • No additional tests run beyond typecheck
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/10011 **State:** closed **Merged:** Yes --- ## Summary Update the Codex OAuth refresh flow to write refreshed tokens back to the `openai` auth entry, preventing duplicate `codex` credentials and keeping `auth list` consistent. Fixes #10010 ## Changes - Store refreshed Codex OAuth tokens under `openai` instead of `codex` ## AI Assistance - **Tools**: OpenCode + openai/gpt-5.2-codex - **Testing**: `bun turbo typecheck` - **Review**: Human operator reviewed changes ## Notes - No additional tests run beyond typecheck
yindo added the pull-request label 2026-02-16 18:18:10 -05:00
yindo closed this issue 2026-02-16 18:18:10 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13300