Skip to content

feat(app): show the sign-in URL in the desktop SSO dialog - #356

Merged
quickbeard merged 1 commit into
mainfrom
show-sso-link
Sep 10, 2026
Merged

quickbeard merged 1 commit into
mainfrom
show-sso-link

Conversation

@quickbeard

Copy link
Copy Markdown
Owner

What

The desktop Login with SSO step offered Open login page and Copy link but never showed the URL those buttons act on. The link is now printed above them — wrapped rather than truncated, in mono, and selectable.

Why

Nothing on that screen told you where you were being sent, and there was no way to check what Copy link had put on the clipboard. When the browser cannot open on this machine — no default browser, an RDP/SSH session, a VM — the paste-back field right below is the intended fallback, but its other half was invisible: you could not read the URL across to a phone or another machine to complete the sign-in there.

The TUI's SSO step has always printed the link (packages/tui/src/component/dialog-configure.tsx); this brings the desktop dialog to parity.

Changes

  • packages/app/src/components/gateway/dialog-configure.tsx — render ssoState().authUrl as text-12-mono … break-all in a bordered box between the "complete the login" line and the button row.
  • packages/app/src/i18n/{en,es,vi}.ts — gateway.configure.sso.pending reworded to end in a colon, since a link now follows it.
  • CHANGELOG.md — user-facing entry under Gateway.

No DIVERGENCES.md row: components/gateway/dialog-configure.tsx is fork-only, vi.ts is fork-only, and the gateway.configure.* family in en/es.ts is already covered by its existing row.

Testing

  • bun typecheck in packages/app — clean.
  • bun test src/i18n in packages/app — 9 pass.
  • prettier --check on the changed files — clean.

🤖 Generated with Claude Code

https://claude.ai/code/session_01PigpsjvQ6U8LqLbR7gYCZR

The SSO step offered Open login page and Copy link but never showed the
URL itself, so there was nothing to read, select, or check the copy
against — and when the browser could not open on this machine, Copy link
was a blind promise. Print it above the buttons, wrapped rather than
truncated (a clipped authorize URL is unusable) and selectable, matching
the TUI's SSO step, which has always printed the link.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PigpsjvQ6U8LqLbR7gYCZR
@quickbeard
quickbeard merged commit 16a5a10 into main Sep 10, 2026
0 of 5 checks passed
@quickbeard
quickbeard deleted the show-sso-link branch September 10, 2026 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant