flyctl icon indicating copy to clipboard operation
flyctl copied to clipboard

fly auth login leaves browser-based token authentication incomplete

Open tomr-fly opened this issue 2 months ago • 0 comments

fly auth login can report success while organization tokens still require a separate browser authentication step. A subsequent command launched through a noninteractive wrapper fails with unauthorized.

Running fly auth whoami directly in a terminal opens the additional authentication flow and saves the completed credentials. The wrapped command then works.

#5180 addressed token maintenance during automatic re-login. Explicit login still misses that step.

tomr-fly avatar Sep 16 '26 17:09 tomr-fly