Skip to content

feat(ai): add Codex device code login#4911

Merged
mitsuhiko merged 3 commits into
mainfrom
codex-device-code-auth
May 28, 2026
Merged

feat(ai): add Codex device code login#4911
mitsuhiko merged 3 commits into
mainfrom
codex-device-code-auth

Conversation

@vegarsti
Copy link
Copy Markdown
Member

@vegarsti vegarsti commented May 22, 2026

Adds a device code login option for Codex, so there's now a second screen where you select between the default and this one. Closes #3424.

CleanShot-2026-05-26-at-10 12 21@2x

@vegarsti vegarsti requested a review from badlogic May 22, 2026 20:28
Comment thread packages/ai/src/utils/oauth/openai-codex.ts
@vegarsti vegarsti force-pushed the codex-device-code-auth branch from a0e0640 to 6fa0df0 Compare May 22, 2026 20:32
@Randy-sin

This comment was marked as low quality.

@vegarsti vegarsti force-pushed the codex-device-code-auth branch 2 times, most recently from 37bbf97 to 8bc3928 Compare May 27, 2026 06:29
Comment thread packages/ai/src/utils/oauth/openai-codex.ts Outdated
Comment thread packages/ai/src/utils/oauth/openai-codex.ts Outdated
@vegarsti vegarsti force-pushed the codex-device-code-auth branch from 8bc3928 to 455b042 Compare May 27, 2026 08:27
@vegarsti vegarsti requested a review from mitsuhiko May 27, 2026 08:38
@badlogic
Copy link
Copy Markdown
Collaborator

Closing because the PR author is not listed in .github/APPROVED_CONTRIBUTORS.

@badlogic badlogic closed this May 28, 2026
@badlogic badlogic reopened this May 28, 2026
@vegarsti
Copy link
Copy Markdown
Member Author

😄

@mitsuhiko mitsuhiko merged commit 9d5fb70 into main May 28, 2026
1 check passed
@mitsuhiko mitsuhiko deleted the codex-device-code-auth branch May 28, 2026 09:09
@badlogic
Copy link
Copy Markdown
Collaborator

cheese my clanker did a stupid thang ...

baiyuqing pushed a commit to baiyuqing/pi that referenced this pull request May 28, 2026
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.

feat: add ChatGPT device code login method

4 participants