[PR #3660] [MERGED] [management,client] Add support to configurable prompt login #18132

Open
opened 2026-08-05 04:08:09 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/3660
Author: @mlsmaycon
Created: 4/11/2025
Status: Merged
Merged: 4/11/2025
Merged by: @lixmal

Base: mainHead: feature/support-configurable-prompt-login


📝 Commits (6)

📊 Changes

11 files changed (+89 additions, -11 deletions)

View changed files

📝 .github/workflows/test-infrastructure-files.yml (+1 -0)
📝 client/internal/auth/pkce_flow.go (+8 -4)
client/internal/auth/pkce_flow_test.go (+49 -0)
📝 client/internal/pkce_auth.go (+3 -0)
📝 infrastructure_files/base.setup.env (+2 -0)
📝 infrastructure_files/management.json.tmpl (+2 -1)
📝 infrastructure_files/tests/setup.env (+1 -0)
📝 management/proto/management.pb.go (+18 -6)
📝 management/proto/management.proto (+2 -0)
📝 management/server/grpcserver.go (+1 -0)
📝 management/server/types/config.go (+2 -0)

📄 Description

Describe your changes

This allows administrators to disable prompt login for IdPs that don't provide support for it, like authentik

#3654

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/3660 **Author:** [@mlsmaycon](https://github.com/mlsmaycon) **Created:** 4/11/2025 **Status:** ✅ Merged **Merged:** 4/11/2025 **Merged by:** [@lixmal](https://github.com/lixmal) **Base:** `main` ← **Head:** `feature/support-configurable-prompt-login` --- ### 📝 Commits (6) - [`e3cde9c`](https://github.com/netbirdio/netbird/commit/e3cde9cfc398d24f4a60b2cdeb0ad253ada52591) Add support to configurable prompt login - [`078163b`](https://github.com/netbirdio/netbird/commit/078163b4c864bd768d41f100f39fc86547133acc) update infra files - [`1b3df14`](https://github.com/netbirdio/netbird/commit/1b3df14b858a02538f7eb01cf8eb9e8262012929) fix json - [`f24bc59`](https://github.com/netbirdio/netbird/commit/f24bc59eed80f1571c576910d0c062ae3047adff) export NETBIRD_AUTH_PKCE_DISABLE_PROMPT_LOGIN - [`71ade11`](https://github.com/netbirdio/netbird/commit/71ade118a612c04c72939dc98a5303eaa368bdae) use correct var - [`5a19faf`](https://github.com/netbirdio/netbird/commit/5a19fafa80402f3ace7af3897ebb2063f7e113d9) use received proto message ### 📊 Changes **11 files changed** (+89 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/test-infrastructure-files.yml` (+1 -0) 📝 `client/internal/auth/pkce_flow.go` (+8 -4) ➕ `client/internal/auth/pkce_flow_test.go` (+49 -0) 📝 `client/internal/pkce_auth.go` (+3 -0) 📝 `infrastructure_files/base.setup.env` (+2 -0) 📝 `infrastructure_files/management.json.tmpl` (+2 -1) 📝 `infrastructure_files/tests/setup.env` (+1 -0) 📝 `management/proto/management.pb.go` (+18 -6) 📝 `management/proto/management.proto` (+2 -0) 📝 `management/server/grpcserver.go` (+1 -0) 📝 `management/server/types/config.go` (+2 -0) </details> ### 📄 Description ## Describe your changes This allows administrators to disable prompt login for IdPs that don't provide support for it, like authentik ## Issue ticket number and link #3654 ### Checklist - [x] Is it a bug fix - [ ] Is a typo/documentation fix - [x] 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 04:08:09 -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#18132