Repository navigation
Conversation
Clicking an authentication method now opens the embedded device-authorization URL in a new tab while closing the dialog, instead of leaving users to copy the link by hand. URLs in the method description are also rendered as clickable links, and a Copy code button is added for the device user_code. - Parse and open the first URL in the method description on select - Render description URLs as anchors (target=_blank), click handled by the item - Add a Copy code button that extracts user_code=... or the inline (code ...)
gpasquero
pushed a commit
to gpasquero/acp-ui
that referenced
this pull request
Aug 26, 2026
Add an 'About this fork' section explaining that community PRs have sat open upstream for months, that this fork ships those fixes and hosts its own web build, and listing the auth-dialog device-auth link fix (formulahendry#18).
In a Tauri webview window.open()/<a target=_blank> don't reach the system browser, so the device-auth link did nothing on desktop. Route it through a host-aware openExternalUrl() helper (opener plugin on Tauri, window.open on web).
gpasquero
force-pushed
the
fix/auth-dialog-open-link
branch
from
August 26, 2026 17:58
8065aaf to
732b3d2
Compare
gpasquero
pushed a commit
to gpasquero/acp-ui
that referenced
this pull request
Aug 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
When an agent requires device-authorization, the auth dialog shows instructions like "Open https://…/device?user_code=XXXX in your browser and approve (code XXXX), then choose this method to finish signing in." But the URL was rendered as plain text: clicking the method just closed the dialog without opening the link, forcing users to select and copy/paste the URL by hand.
Changes
authenticate), matching the "open then finish" device flow.target="_blank",rel="noopener noreferrer"); direct clicks are de-duplicated so only one tab opens.user_code(fromuser_code=…in the URL, or an inline(code …)) and copies it to the clipboard with transient "Copied!" feedback. Hidden when no code is present.@click.stopso copying doesn't close the dialog.No changes to protocol handling or other components; scoped to
AuthMethodDialog.vue.Testing
npx vue-tsc --noEmitpasses.npm run dev:web) against an agent using GlobAI device auth: single click opens the auth URL in a new tab and closes the dialog; Copy code copies the user code.