Skip to content

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

@akinfelami

Description

@akinfelami

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions