[PR #1200] [MERGED] Always call Login from UI with the desktop flag #13400

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

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/1200
Author: @braginini
Created: 10/6/2023
Status: Merged
Merged: 10/6/2023
Merged by: @braginini

Base: mainHead: fix/call_login_with_desktop_check


📝 Commits (1)

  • 325b96e Always call Login from UI with the desktop flag

📊 Changes

2 files changed (+8 additions, -1 deletions)

View changed files

client/ui/build-ui-linux.sh (+5 -0)
📝 client/ui/client_ui.go (+3 -1)

📄 Description

Describe your changes

On Linux desktops we need to pass a flag to daemon indicating
that this is a Desktop environment.
Without it the Device flow always triggered instead of PCKE.

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

🔄 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/1200 **Author:** [@braginini](https://github.com/braginini) **Created:** 10/6/2023 **Status:** ✅ Merged **Merged:** 10/6/2023 **Merged by:** [@braginini](https://github.com/braginini) **Base:** `main` ← **Head:** `fix/call_login_with_desktop_check` --- ### 📝 Commits (1) - [`325b96e`](https://github.com/netbirdio/netbird/commit/325b96e374d6c7c6ffe5a11c35604c5e5371d1ac) Always call Login from UI with the desktop flag ### 📊 Changes **2 files changed** (+8 additions, -1 deletions) <details> <summary>View changed files</summary> ➕ `client/ui/build-ui-linux.sh` (+5 -0) 📝 `client/ui/client_ui.go` (+3 -1) </details> ### 📄 Description ## Describe your changes On Linux desktops we need to pass a flag to daemon indicating that this is a Desktop environment. Without it the Device flow always triggered instead of PCKE. ## Issue ticket number and link ### Checklist - [x] Is it a bug fix - [ ] Is a typo/documentation fix - [ ] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary --- <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:08:19 -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#13400