[PR #217] [MERGED] Store domain information #2623

Closed
opened 2025-11-20 07:11:57 -05:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/217
Author: @mlsmaycon
Created: 2/2/2022
Status: Merged
Merged: 2/11/2022
Merged by: @mlsmaycon

Base: mainHead: store-domain


📝 Commits (6)

📊 Changes

8 files changed (+134 additions, -52 deletions)

View changed files

📝 management/server/account.go (+22 -13)
📝 management/server/account_test.go (+49 -12)
📝 management/server/file_store_test.go (+2 -2)
📝 management/server/http/handler/peers.go (+15 -8)
📝 management/server/http/handler/setupkeys.go (+17 -7)
📝 management/server/http/handler/util.go (+18 -7)
📝 management/server/peer_test.go (+1 -1)
📝 management/server/user.go (+10 -2)

📄 Description

  • retrieve domain from jwt token
  • store domain when creating new account
  • store domain for existing accounts

🔄 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/217 **Author:** [@mlsmaycon](https://github.com/mlsmaycon) **Created:** 2/2/2022 **Status:** ✅ Merged **Merged:** 2/11/2022 **Merged by:** [@mlsmaycon](https://github.com/mlsmaycon) **Base:** `main` ← **Head:** `store-domain` --- ### 📝 Commits (6) - [`1157dfb`](https://github.com/netbirdio/netbird/commit/1157dfb4a0237a9241c0b328230e9d922a7f69bd) extract claim information from JWT - [`da3de8f`](https://github.com/netbirdio/netbird/commit/da3de8fd9b046e0c07f9db86a8da7f4cb41796c3) get account function - [`16a7538`](https://github.com/netbirdio/netbird/commit/16a7538b408048c108c92b4402bdb69ef1c0fbdd) Store domain - [`0fd1122`](https://github.com/netbirdio/netbird/commit/0fd1122bb6ce9387aedfc191191e43b6d9f2c11d) tests missing domain - [`f42932f`](https://github.com/netbirdio/netbird/commit/f42932f7988bd1d090e11e6509b5a74c159c92f6) update existing account with domain - [`68edc49`](https://github.com/netbirdio/netbird/commit/68edc499bc90977fe91c8c062d10ecc6895bf820) add store domain tests ### 📊 Changes **8 files changed** (+134 additions, -52 deletions) <details> <summary>View changed files</summary> 📝 `management/server/account.go` (+22 -13) 📝 `management/server/account_test.go` (+49 -12) 📝 `management/server/file_store_test.go` (+2 -2) 📝 `management/server/http/handler/peers.go` (+15 -8) 📝 `management/server/http/handler/setupkeys.go` (+17 -7) 📝 `management/server/http/handler/util.go` (+18 -7) 📝 `management/server/peer_test.go` (+1 -1) 📝 `management/server/user.go` (+10 -2) </details> ### 📄 Description * retrieve domain from jwt token * store domain when creating new account * store domain for existing accounts --- <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 2025-11-20 07:11:57 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#2623