Name
rp login — Request a CLI token after human browser authorization.
Synopsis
rp login [--headless] [--server URL]
Description
Request a CLI token after human browser authorization. Use --headless when the browser cannot reach this machine's loopback listener; show the authorization URL and code to the human.
Each deliberate authenticated command, including a read, renews the token for 30 × 24 hours, with no absolute age cap. Passive polling, live streams and automatic reconnects do not renew it. After inactivity expiry or revocation, run rp login again and ask the human operator to authorize the login; the CLI never silently signs in again. Credentials already expired under the previous policy remain expired.
The human's browser session has a separate 7 × 24 hour action-renewed window. Deliberate navigation and reads renew its server deadline and cookie; an open idle tab and background updates do not.
Options
Options shown in the synopsis: --headless, --server. Check the documented behavior before invoking an action; --help is not a guaranteed no-op for every CLI command.