[PR #781] [MERGED] Check multiple audience values #12986

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

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/781
Author: @mlsmaycon
Created: 4/3/2023
Status: Merged
Merged: 4/4/2023
Merged by: @mlsmaycon

Base: mainHead: feature/support-device-flow-aud-claim


📝 Commits (2)

  • 366ea76 Check multiple audience values
  • c574d0a no need for duplication check

📊 Changes

4 files changed (+20 additions, -4 deletions)

View changed files

📝 management/cmd/management.go (+1 -1)
📝 management/server/config.go (+10 -0)
📝 management/server/grpcserver.go (+1 -1)
📝 management/server/jwtclaims/jwtValidator.go (+8 -2)

📄 Description

Describe your changes

Some IDP use different audience for different clients. This update checks HTTP and Device authorization flow audience values.

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/781 **Author:** [@mlsmaycon](https://github.com/mlsmaycon) **Created:** 4/3/2023 **Status:** ✅ Merged **Merged:** 4/4/2023 **Merged by:** [@mlsmaycon](https://github.com/mlsmaycon) **Base:** `main` ← **Head:** `feature/support-device-flow-aud-claim` --- ### 📝 Commits (2) - [`366ea76`](https://github.com/netbirdio/netbird/commit/366ea768807f6b7dc0a02f572c4e8e0f34f594bb) Check multiple audience values - [`c574d0a`](https://github.com/netbirdio/netbird/commit/c574d0aa928622af614b957cdf6fced84dafcc5e) no need for duplication check ### 📊 Changes **4 files changed** (+20 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `management/cmd/management.go` (+1 -1) 📝 `management/server/config.go` (+10 -0) 📝 `management/server/grpcserver.go` (+1 -1) 📝 `management/server/jwtclaims/jwtValidator.go` (+8 -2) </details> ### 📄 Description ## Describe your changes Some IDP use different audience for different clients. This update checks HTTP and Device authorization flow audience values. ## 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 02:07:10 -04:00
saavagebueno changed title from [PR #781] Check multiple audience values to [PR #781] [MERGED] Check multiple audience values 2026-08-05 03:07:40 -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#12986