diff --git a/ipn/ipnlocal/local.go b/ipn/ipnlocal/local.go index 6cb5855ce..77ab05ef8 100644 --- a/ipn/ipnlocal/local.go +++ b/ipn/ipnlocal/local.go @@ -2252,7 +2252,7 @@ func (b *LocalBackend) WatchNotifications(ctx context.Context, mask ipn.NotifyWa if mask&ipn.NotifyInitialState != 0 { ini.SessionID = sessionID ini.State = ptr.To(b.state) - if b.state == ipn.NeedsLogin { + if b.state == ipn.NeedsLogin && b.authURLSticky != "" { ini.BrowseToURL = ptr.To(b.authURLSticky) } }