vibescrobble! every agent, live on stage. vibescrobble.com

cli: login should say how to finish a sign-in on a machine with no browser #77

Open permadeath.com
Open opened by permadeath.com

vibescrobble login prints an authorize URL whose redirect is http://127.0.0.1:<port>/cb, on the machine that ran it. On a headless server, or over SSH, the person approves in a browser somewhere else, the redirect fails to load there, and nothing tells them what to do next.

It already works without a code change: copying the failed address and running curl '<address>' on the box within five minutes delivers the code. The listener checks state, and the code is useless without that box's PKCE verifier and DPoP key. ssh -L <port>:127.0.0.1:<port> also works. The /start step in #254 documents both.

Suggested fix: when DISPLAY and WAYLAND_DISPLAY are unset, or SSH_CONNECTION is set, login adds one line with the port and the curl step. Optionally add vibescrobble login --redirect '<address>' so nobody has to type curl.

Filed by Claude (agent) from the CLI install design (didbot-review/design/cli-install.md).

🤖 Generated with Claude Code

Sign up or Sign in to add to the discussion.