[PR #965] [CLOSED] Get groups from the JWT tokens if it feature enabled for account #14623

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

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/965
Author: @gigovich
Created: 6/19/2023
Status: Closed

Base: mainHead: feat-groups-from-jwt


📝 Commits (4)

  • e41072e Get groups from the JWT tokens if it feature enabled for account
  • 12f28e9 Fix migration fro groups issue
  • 590d977 Fix claim extraciton after testing on real auth0 setup
  • 4246138 Fix review note

📊 Changes

8 files changed (+213 additions, -6 deletions)

View changed files

📝 management/server/account.go (+68 -2)
📝 management/server/account_test.go (+64 -0)
📝 management/server/file_store.go (+8 -0)
📝 management/server/file_store_test.go (+35 -0)
📝 management/server/group.go (+7 -3)
📝 management/server/jwtclaims/claims.go (+6 -0)
📝 management/server/jwtclaims/extractor.go (+3 -1)
📝 management/server/jwtclaims/extractor_test.go (+22 -0)

📄 Description

Describe your changes

Get groups from the JWT tokens if it feature enabled for account

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/965 **Author:** [@gigovich](https://github.com/gigovich) **Created:** 6/19/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat-groups-from-jwt` --- ### 📝 Commits (4) - [`e41072e`](https://github.com/netbirdio/netbird/commit/e41072e2fc8317f1f0cd4025efb7ef0c367c3062) Get groups from the JWT tokens if it feature enabled for account - [`12f28e9`](https://github.com/netbirdio/netbird/commit/12f28e9aa461f0b914ff93002a44aac0efeea6e9) Fix migration fro groups issue - [`590d977`](https://github.com/netbirdio/netbird/commit/590d977dc77bd87ce3b2ab65f40f8ddf062fe61c) Fix claim extraciton after testing on real auth0 setup - [`4246138`](https://github.com/netbirdio/netbird/commit/4246138e4145846c24a435326954a2abf97a71e4) Fix review note ### 📊 Changes **8 files changed** (+213 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `management/server/account.go` (+68 -2) 📝 `management/server/account_test.go` (+64 -0) 📝 `management/server/file_store.go` (+8 -0) 📝 `management/server/file_store_test.go` (+35 -0) 📝 `management/server/group.go` (+7 -3) 📝 `management/server/jwtclaims/claims.go` (+6 -0) 📝 `management/server/jwtclaims/extractor.go` (+3 -1) 📝 `management/server/jwtclaims/extractor_test.go` (+22 -0) </details> ### 📄 Description ## Describe your changes Get groups from the JWT tokens if it feature enabled for account ## Issue ticket number and link ### Checklist - [ ] 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 03:06:00 -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#14623