[PR #13373] [MERGED] 11508 Add group assignments for Azure SSO #14169

Closed
opened 2025-12-29 23:22:58 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/13373
Author: @arthanson
Created: 8/4/2023
Status: Merged
Merged: 8/21/2023
Merged by: @jeremystretch

Base: developHead: 11508-azure-group


📝 Commits (10+)

  • 635161b 11508 temp azure changes
  • 6ebea28 11508 map AzureAD groups to NetBox groups
  • 82dde62 11508 add is_active, reset superuser and staff based on Azure
  • 92a1d59 11508 remove is_active, add documentation use azuread
  • 1d02196 11508 remove addition to settings
  • 7a63c7c 11508 review changes, add additional logging and error checking
  • 44cd3a3 Merge branch 'develop' into 11508-azure-group
  • 7e017c9 11508 review changes, remove extra flag
  • 605f232 11508 review changes, change SOCIAL_AUTH_ to REMOTE_AUTH_BACKEND
  • b2d1f3b 11508 clear user groups

📊 Changes

2 files changed (+149 additions, -0 deletions)

View changed files

📝 docs/administration/authentication/microsoft-azure-ad.md (+57 -0)
📝 netbox/netbox/authentication.py (+92 -0)

📄 Description

Fixes: #11508

Creates a custom Social Auth pipeline to allow mapping Azure group-id's to NetBox groups so groups, staff and superuser assignments are automatically done when using Azure SSO.


🔄 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/netbox-community/netbox/pull/13373 **Author:** [@arthanson](https://github.com/arthanson) **Created:** 8/4/2023 **Status:** ✅ Merged **Merged:** 8/21/2023 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `11508-azure-group` --- ### 📝 Commits (10+) - [`635161b`](https://github.com/netbox-community/netbox/commit/635161bd38f2b919e08903e4d4ea776feef21099) 11508 temp azure changes - [`6ebea28`](https://github.com/netbox-community/netbox/commit/6ebea286decac975e6190218a9b2dc3e42541a34) 11508 map AzureAD groups to NetBox groups - [`82dde62`](https://github.com/netbox-community/netbox/commit/82dde62c361053a3224ad775c5dda72affd5e8e9) 11508 add is_active, reset superuser and staff based on Azure - [`92a1d59`](https://github.com/netbox-community/netbox/commit/92a1d596066bbb9543079738b148580326bac0fb) 11508 remove is_active, add documentation use azuread - [`1d02196`](https://github.com/netbox-community/netbox/commit/1d02196e0a6071bc7fb90b1dd9d18310e58d55d0) 11508 remove addition to settings - [`7a63c7c`](https://github.com/netbox-community/netbox/commit/7a63c7c89d97c2891d9e22f6d10f98787f07e678) 11508 review changes, add additional logging and error checking - [`44cd3a3`](https://github.com/netbox-community/netbox/commit/44cd3a33c2394388f34a65664007c8a87fe2a8a3) Merge branch 'develop' into 11508-azure-group - [`7e017c9`](https://github.com/netbox-community/netbox/commit/7e017c938a6da34e991699060f4c36073a7a86f9) 11508 review changes, remove extra flag - [`605f232`](https://github.com/netbox-community/netbox/commit/605f232cc2c679928588c09e57faaa8d458abbe1) 11508 review changes, change SOCIAL_AUTH_ to REMOTE_AUTH_BACKEND - [`b2d1f3b`](https://github.com/netbox-community/netbox/commit/b2d1f3b14c14466c8aaa1381220c1477ec132121) 11508 clear user groups ### 📊 Changes **2 files changed** (+149 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/administration/authentication/microsoft-azure-ad.md` (+57 -0) 📝 `netbox/netbox/authentication.py` (+92 -0) </details> ### 📄 Description ### Fixes: #11508 Creates a custom Social Auth pipeline to allow mapping Azure group-id's to NetBox groups so groups, staff and superuser assignments are automatically done when using Azure SSO. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 23:22:58 +01:00
adam closed this issue 2025-12-29 23:22:58 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14169