Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions internal/pkg/auth/user_login.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,10 @@ func AuthorizeUser(p *print.Printer, isReauthentication bool) error {
return fmt.Errorf("open browser to URL %s: %w", authorizationURL, err)
}

// Print the link
p.Outputln("Your browser has been opened to visit:\n")
p.Outputf("%s\n\n", authorizationURL)

// Start the blocking web server loop
// It will exit when the handlers get fired and call server.Close()
p.Debug(print.DebugLevel, "listening for response from authentication server on %s", redirectURL)
Expand Down
Loading