mirror of
https://github.com/netbirdio/netbird.git
synced 2026-05-08 09:49:54 +00:00
A pending WaitSSOLogin parks the daemon on an OAuth UserCode forever once the user closes the browser without completing the flow. The frontend can't unblock that on its own — it needs the daemon to fire its own actCancel(). Three fixes work together: - Login() now issues a Down() before kicking off the new flow so a previously-stuck WaitSSOLogin is unwedged before we ask the daemon for fresh OAuth info. - The Login page's Cancel button calls Down() before navigating away, so abandoning the flow mid-browser actually settles the daemon's in-flight WaitSSOLogin instead of leaving it pinned. - Status keeps the Login button visible whenever we aren't Connected (including Connecting), so a UI restart that finds the daemon stuck in Connecting still has a one-click recovery path. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>