Skip to content

Commit 407d671

Browse files
authored
Merge branch 'main' into kms-beta
2 parents 996d1ee + cfd42a0 commit 407d671

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

internal/pkg/auth/user_login.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,10 @@ func AuthorizeUser(p *print.Printer, isReauthentication bool) error {
244244
return fmt.Errorf("open browser to URL %s: %w", authorizationURL, err)
245245
}
246246

247+
// Print the link
248+
p.Outputln("Your browser has been opened to visit:\n")
249+
p.Outputf("%s\n\n", authorizationURL)
250+
247251
// Start the blocking web server loop
248252
// It will exit when the handlers get fired and call server.Close()
249253
p.Debug(print.DebugLevel, "listening for response from authentication server on %s", redirectURL)

0 commit comments

Comments
 (0)