[PR #1770] [MERGED] Get scope from endpoint url instead of hardcoding for Azure (Entra ID) #15819

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

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/1770
Author: @rqi14
Created: 3/28/2024
Status: Merged
Merged: 4/2/2024
Merged by: @braginini

Base: mainHead: fix-azure-scope


📝 Commits (1)

  • 57ec1fc Get scope from endpoint url instead of hardcoding

📊 Changes

1 file changed (+9 additions, -1 deletions)

View changed files

📝 management/server/idp/azure.go (+9 -1)

📄 Description

Describe your changes

Get scope from endpoint url instead of hardcoding for Azure (Entra ID). This is to fix errors occured when the endpoint is not https://graph.microsoft.com.

#1663

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/1770 **Author:** [@rqi14](https://github.com/rqi14) **Created:** 3/28/2024 **Status:** ✅ Merged **Merged:** 4/2/2024 **Merged by:** [@braginini](https://github.com/braginini) **Base:** `main` ← **Head:** `fix-azure-scope` --- ### 📝 Commits (1) - [`57ec1fc`](https://github.com/netbirdio/netbird/commit/57ec1fc30b2387cf83696e2bfabacbda077ed90f) Get scope from endpoint url instead of hardcoding ### 📊 Changes **1 file changed** (+9 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `management/server/idp/azure.go` (+9 -1) </details> ### 📄 Description ## Describe your changes Get scope from endpoint url instead of hardcoding for Azure (Entra ID). This is to fix errors occured when the endpoint is not https://graph.microsoft.com. ## Issue ticket number and link #1663 ### 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 03:08:28 -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#15819