[PR #346] [CLOSED] feat: open browser for github auth #9591

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

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/346
Author: @alcpereira
Created: 6/23/2025
Status: Closed

Base: devHead: feat/open-github-browser


📝 Commits (1)

  • 6feeccd feat: open browser for github auth

📊 Changes

2 files changed (+18 additions, -12 deletions)

View changed files

📝 packages/opencode/src/auth/github-copilot.ts (+4 -4)
📝 packages/opencode/src/cli/cmd/auth.ts (+14 -8)

📄 Description

  • Leverage existing open library to open automatically the browser to improve the Github auth UX (I was expecting the browser to open automatically)
  • Small refactor:
    • the returned object from authorize is now closer to the API response
    • destructure the object instead of deviceInfo

🔄 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/346 **Author:** [@alcpereira](https://github.com/alcpereira) **Created:** 6/23/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `feat/open-github-browser` --- ### 📝 Commits (1) - [`6feeccd`](https://github.com/anomalyco/opencode/commit/6feeccdf6ea37ffd12ddd5dd7b6669f39092567a) feat: open browser for github auth ### 📊 Changes **2 files changed** (+18 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `packages/opencode/src/auth/github-copilot.ts` (+4 -4) 📝 `packages/opencode/src/cli/cmd/auth.ts` (+14 -8) </details> ### 📄 Description - Leverage existing `open` library to open automatically the browser to improve the Github auth UX (I was expecting the browser to open automatically) - Small refactor: - the returned object from `authorize` is now closer to the API response - destructure the object instead of `deviceInfo` --- <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:13:49 -05:00
yindo closed this issue 2026-02-16 18:13:49 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9591