Skip to content

Commit

Permalink
Merge pull request cli#7091 from ulfjack/patch-1
Browse files Browse the repository at this point in the history
Print the login URL even when opening a browser
  • Loading branch information
BagToad authored Oct 3, 2024
2 parents 9bd75d2 + e6d39eb commit d645fd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/authflow/flow.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func AuthFlow(oauthHost string, IO *iostreams.IOStreams, notice string, addition
return nil
}

fmt.Fprintf(w, "%s to open %s in your browser... ", cs.Bold("Press Enter"), oauthHost)
fmt.Fprintf(w, "%s to open %s in your browser... ", cs.Bold("Press Enter"), authURL)
_ = waitForEnter(IO.In)

if err := b.Browse(authURL); err != nil {
Expand Down

0 comments on commit d645fd4

Please sign in to comment.