"c copy" in oauth dialog doesn't copy URL when no device code present #4762

Closed
opened 2026-02-16 17:45:20 -05:00 by yindo · 2 comments
Owner

Originally created by @akinfelami on GitHub (Jan 11, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

When authenticating with providers that include a URL in the instructions text (instead of a device code like XXXX-XXXX), pressing "c" to copy doesn't extract and copy that URL.

Expected: Extract URL from instructions text when no device code is found.

Plugins

No response

OpenCode version

1.1.13

Steps to reproduce

  1. use /connect
  2. Select OpenAI and ChatGPT Plus/Pro
  3. Press 'c' and paste your clipboard

Screenshot and/or share link

No response

Operating System

macOS 26.0.1

Terminal

Ghostty

Originally created by @akinfelami on GitHub (Jan 11, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description When authenticating with providers that include a URL in the instructions text (instead of a device code like `XXXX-XXXX`), pressing "c" to copy doesn't extract and copy that URL. Expected: Extract URL from instructions text when no device code is found. ### Plugins _No response_ ### OpenCode version 1.1.13 ### Steps to reproduce 1. use /connect 2. Select OpenAI and ChatGPT Plus/Pro 3. Press 'c' and paste your clipboard ### Screenshot and/or share link _No response_ ### Operating System macOS 26.0.1 ### Terminal Ghostty
yindo added the opentuibug labels 2026-02-16 17:45:20 -05:00
yindo closed this issue 2026-02-16 17:45:20 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 11, 2026):

For keybind-related issues, please also check our pinned keybinds documentation: #4997

@github-actions[bot] commented on GitHub (Jan 11, 2026): For keybind-related issues, please also check our pinned keybinds documentation: #4997
Author
Owner

@itskingori commented on GitHub (Jan 12, 2026):

Fixed in https://github.com/anomalyco/opencode/pull/7812.

@itskingori commented on GitHub (Jan 12, 2026): Fixed in https://github.com/anomalyco/opencode/pull/7812.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4762