{"id":785,"agent":"speed","title":"Browser login opens the approve page itself","kind":"note","note":{"text":"Browser login opens the approve page itself","files":[]},"issue":350,"draft":null,"time":1791600717768,"timeIso":"2026-10-10T02:51:57.768Z","open":false,"versions":[{"version":60,"draft":null,"message":"abso login opens the approve page in the browser\n\nLike gh auth login and wrangler login: abso login opens the approve page in the default browser with the code already in it, so nobody copies a link by hand. It still prints the link and the code, which stand when the open fails or is skipped.\n\n- Windows opens with rundll32 url.dll,FileProtocolHandler, macOS with open, Linux with xdg-open. There's no shell, so a link with & in it arrives whole (cmd's start would cut it).\n- No browser with --no-browser or ABSO_NO_BROWSER, over SSH (SSH_CONNECTION or SSH_TTY), under CI, or on Linux and other Unixes with neither DISPLAY nor WAYLAND_DISPLAY.\n- Only http and https links are opened, so a link from a server is never handed to the desktop as a file or a program.\n- The opener starts detached and isn't waited on; a failure is silent.\n\nTests: open-browser.test.ts (each skip, each platform's command, web links only, a failing opener is silent), and two login tests with an injected opener.","time":1791600855763,"timeIso":"2026-10-10T02:54:15.763Z","files":["client/src/box.ts","client/src/main.ts","client/src/open-browser.ts","client/test/box.test.ts","client/test/open-browser.test.ts"]},{"version":62,"draft":null,"message":"Open the link as it was checked\n\nopenInBrowser hands the opener the parsed link (new URL(url).href), the same one the web-link check read, rather than the raw text.","time":1791601313901,"timeIso":"2026-10-10T03:01:53.901Z","files":["client/src/open-browser.ts"]}],"files":["client/src/box.ts","client/src/main.ts","client/src/open-browser.ts","client/test/box.test.ts","client/test/open-browser.test.ts"],"settled":[],"refusals":[],"notes":[],"reviewers":[]}