[PR #1110] [MERGED] Close PKCE Listening Port After Authorization #13315

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

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/1110
Author: @bcmmbaga
Created: 8/28/2023
Status: Merged
Merged: 8/29/2023
Merged by: @braginini

Base: mainHead: pkce-port-cleanup


📝 Commits (1)

  • b4402a9 Refactor server handling in PKCE authorization flow

📊 Changes

2 files changed (+15 additions, -7 deletions)

View changed files

📝 client/cmd/login.go (+1 -0)
📝 client/internal/auth/pkce_flow.go (+14 -7)

📄 Description

Describe your changes

Addresses the issue of an open listening port persisting after the PKCE authorization flow is completed.

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/1110 **Author:** [@bcmmbaga](https://github.com/bcmmbaga) **Created:** 8/28/2023 **Status:** ✅ Merged **Merged:** 8/29/2023 **Merged by:** [@braginini](https://github.com/braginini) **Base:** `main` ← **Head:** `pkce-port-cleanup` --- ### 📝 Commits (1) - [`b4402a9`](https://github.com/netbirdio/netbird/commit/b4402a91e22d32de268636043856ca69f2969bd5) Refactor server handling in PKCE authorization flow ### 📊 Changes **2 files changed** (+15 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `client/cmd/login.go` (+1 -0) 📝 `client/internal/auth/pkce_flow.go` (+14 -7) </details> ### 📄 Description ## Describe your changes Addresses the issue of an open listening port persisting after the PKCE authorization flow is completed. ## 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:05 -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#13315