fly auth login supports terminal-free code flow
Introduced 2026-10-08 · score 0.92
HOW TO USE IT
When the browser approval is on another machine or the waiting login command was stopped, finish the pending login with the one-time code shown on the approval page. Run `fly auth login --code <one-time-code>`.
fly auth login --code <one-time-code>WHY THIS HELPS
Authenticate with flyctl in an environment without a terminal.
REQUIREMENTS AND LIMITATIONS
- Version: v0.4.115
- --code <one-time-code> (required): One-time code shown on the approval page; mutually exclusive with `--interactive`, `--email`, `--password`, and `--otp`.
- Prerequisite: A browser login must be waiting for approval, and its approval page must show the one-time code.
FIRST-PARTY EVIDENCE
- https://github.com/superfly/flyctl/releases/tag/v0.4.115
- https://github.com/superfly/flyctl/blob/v0.4.115/internal/command/auth/login.go
Check the installed version and the source before using it. Entry JSON