[PR #1892] [CLOSED] feat: Sign in with ChatGPT #10100

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

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/1892
Author: @neominik
Created: 8/13/2025
Status: Closed

Base: devHead: feat/sign-in-with-chatgpt


📝 Commits (3)

  • 510c9fd feat: Sign in with ChatGPT
  • bd51f75 Improve implementation parity with codex script
  • aa1dc43 refactor: enhance OpenAI auth flow to determine setup requirements

📊 Changes

2 files changed (+289 additions, -0 deletions)

View changed files

packages/opencode/src/auth/openai.ts (+251 -0)
📝 packages/opencode/src/cli/cmd/auth.ts (+38 -0)

📄 Description

Adds support for signing in with ChatGPT (same as in codex) through opencode auth login. Unfortunately, I cannot test if it actually works because support for enterprise accounts is "coming soon".

If anyone with a Plus, Pro, or Team ChatGPT account could test this via bun run dev -- auth login, that would be awesome.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opencode/pull/1892 **Author:** [@neominik](https://github.com/neominik) **Created:** 8/13/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `feat/sign-in-with-chatgpt` --- ### 📝 Commits (3) - [`510c9fd`](https://github.com/anomalyco/opencode/commit/510c9fde178c372382b17e4359d16699a0ea7f0c) feat: Sign in with ChatGPT - [`bd51f75`](https://github.com/anomalyco/opencode/commit/bd51f7568fe949b9dbbfb148dc967c8b63893a43) Improve implementation parity with codex script - [`aa1dc43`](https://github.com/anomalyco/opencode/commit/aa1dc436c04fc20ce0515d7cbb02038a7aa710e3) refactor: enhance OpenAI auth flow to determine setup requirements ### 📊 Changes **2 files changed** (+289 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `packages/opencode/src/auth/openai.ts` (+251 -0) 📝 `packages/opencode/src/cli/cmd/auth.ts` (+38 -0) </details> ### 📄 Description Adds support for signing in with ChatGPT (same as in codex) through `opencode auth login`. Unfortunately, I cannot test if it actually works because support for enterprise accounts is "coming soon". If anyone with a Plus, Pro, or Team ChatGPT account could test this via `bun run dev -- auth login`, that would be awesome. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 18:14:42 -05:00
yindo closed this issue 2026-02-16 18:14:42 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#10100