[PR #10890] feat: support headless authentication for chatgpt/codex #13593

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

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

State: closed
Merged: Yes


What does this PR do?

https://github.com/user-attachments/assets/8fab0bed-4dc5-4665-aedb-1b9389bead20

add the option to use the device auth authorization method to sign in with chatgpt/codex subscription

closes #10421, closes #8274, and approved by dax on twitter
Screenshot 2026-01-27 at 2 33 54 PM

How did you verify your code works?

manual testing (in the video)
copied mostly off of the copilot implementation of a similar (not exactly the same for some reason?) pattern
opencode share url

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/10890 **State:** closed **Merged:** Yes --- ### What does this PR do? https://github.com/user-attachments/assets/8fab0bed-4dc5-4665-aedb-1b9389bead20 add the option to use the [device auth authorization method](https://developers.openai.com/codex/auth/#preferred-device-code-authentication-beta:~:text=Preferred%3A%20Device%20code%20authentication%20(beta)) to sign in with chatgpt/codex subscription closes #10421, closes #8274, and approved by dax on twitter <img width="1222" height="1632" alt="Screenshot 2026-01-27 at 2 33 54 PM" src="https://github.com/user-attachments/assets/47f2b81f-f24b-40aa-a3c3-dccb8aa6a47c" /> ### How did you verify your code works? manual testing (in the video) copied mostly off of the copilot implementation of a similar (not exactly the same for some reason?) pattern [opencode share url](https://opncd.ai/share/ORvrKnzf)
yindo added the pull-request label 2026-02-16 18:18:26 -05:00
yindo closed this issue 2026-02-16 18:18:26 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13593