[PR #340] [MERGED] Unblock menu when login #12510

Closed
opened 2026-08-05 02:06:03 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/340
Author: @mlsmaycon
Created: 5/28/2022
Status: Merged
Merged: 5/28/2022
Merged by: @mlsmaycon

Base: mainHead: unblock-menu-when-login


📝 Commits (5)

  • 93758a1 GetClientID method and increase interval on slow_down err
  • d8a1bf9 Reuse existing authentication flow if is not expired
  • 7af13d3 Run the up command on a goroutine
  • 1507216 Use time.Until
  • c2db8ae Use proper ctx and consistently use goroutine for up/down

📊 Changes

3 files changed (+73 additions, -22 deletions)

View changed files

📝 client/internal/oauth.go (+13 -1)
📝 client/server/server.go (+45 -9)
📝 client/ui/client_ui.go (+15 -12)

📄 Description

Reuse existing authentication flow if is not expired

Created a new struct to hold additional info about the flow

If there is a waiting SSO running, we cancel its context

Run menuUpClick() as goroutine

Deal with slow_down messages from provider


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbirdio/netbird/pull/340 **Author:** [@mlsmaycon](https://github.com/mlsmaycon) **Created:** 5/28/2022 **Status:** ✅ Merged **Merged:** 5/28/2022 **Merged by:** [@mlsmaycon](https://github.com/mlsmaycon) **Base:** `main` ← **Head:** `unblock-menu-when-login` --- ### 📝 Commits (5) - [`93758a1`](https://github.com/netbirdio/netbird/commit/93758a19906f0dc94e0102614377afdd8d9eba19) GetClientID method and increase interval on slow_down err - [`d8a1bf9`](https://github.com/netbirdio/netbird/commit/d8a1bf9674c5f3b94f08ea93f131e34924962026) Reuse existing authentication flow if is not expired - [`7af13d3`](https://github.com/netbirdio/netbird/commit/7af13d32ffa341a3155624cba3d89d803a986a52) Run the up command on a goroutine - [`1507216`](https://github.com/netbirdio/netbird/commit/150721672b47ba5dd70d92cfe7da3f77cc95647f) Use time.Until - [`c2db8ae`](https://github.com/netbirdio/netbird/commit/c2db8aecf5254a5cf84b3b5c34572299734c7b33) Use proper ctx and consistently use goroutine for up/down ### 📊 Changes **3 files changed** (+73 additions, -22 deletions) <details> <summary>View changed files</summary> 📝 `client/internal/oauth.go` (+13 -1) 📝 `client/server/server.go` (+45 -9) 📝 `client/ui/client_ui.go` (+15 -12) </details> ### 📄 Description Reuse existing authentication flow if is not expired Created a new struct to hold additional info about the flow If there is a waiting SSO running, we cancel its context Run menuUpClick() as goroutine Deal with slow_down messages from provider --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 02:06:03 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#12510