[PR #12253] [MERGED] Closes #12226: Add Profile Data Headers to Remote Authentication Middleware #13935

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/12253
Author: @stuntguy3000
Created: 4/14/2023
Status: Merged
Merged: 4/20/2023
Merged by: @jeremystretch

Base: developHead: 12226-add-profile-headers-to-remote-auth


📝 Commits (2)

  • f230ea7 Closes #12226: Add Profile Data Headers to Remote Authentication Middleware
  • fe3e7e8 Tweak documentation

📊 Changes

6 files changed (+66 additions, -1 deletions)

View changed files

📝 docs/administration/authentication/overview.md (+2 -0)
📝 docs/configuration/remote-authentication.md (+24 -0)
📝 netbox/netbox/configuration_example.py (+3 -0)
📝 netbox/netbox/middleware.py (+11 -1)
📝 netbox/netbox/settings.py (+3 -0)
📝 netbox/netbox/tests/test_authentication.py (+23 -0)

📄 Description

Fixes: #12226

This change introduces a new set of optional headers which update the user's profile when using Remote Authentication.

The original issue references specifically first names, however this change looks at the whole user's profile.


🔄 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/12253 **Author:** [@stuntguy3000](https://github.com/stuntguy3000) **Created:** 4/14/2023 **Status:** ✅ Merged **Merged:** 4/20/2023 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `12226-add-profile-headers-to-remote-auth` --- ### 📝 Commits (2) - [`f230ea7`](https://github.com/netbox-community/netbox/commit/f230ea73c48630171f8e1446d0384f7846607e33) Closes #12226: Add Profile Data Headers to Remote Authentication Middleware - [`fe3e7e8`](https://github.com/netbox-community/netbox/commit/fe3e7e8a7140c04c1f5422462e513eaee24bcae1) Tweak documentation ### 📊 Changes **6 files changed** (+66 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/administration/authentication/overview.md` (+2 -0) 📝 `docs/configuration/remote-authentication.md` (+24 -0) 📝 `netbox/netbox/configuration_example.py` (+3 -0) 📝 `netbox/netbox/middleware.py` (+11 -1) 📝 `netbox/netbox/settings.py` (+3 -0) 📝 `netbox/netbox/tests/test_authentication.py` (+23 -0) </details> ### 📄 Description <!-- Thank you for your interest in contributing to NetBox! Please note that our contribution policy requires that a feature request or bug report be approved and assigned prior to opening a pull request. This helps avoid waste time and effort on a proposed change that we might not be able to accept. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ISSUE WHICH HAS BEEN ASSIGNED TO YOU, IT WILL BE CLOSED AUTOMATICALLY. Please specify your assigned issue number on the line below. --> ### Fixes: #12226 <!-- Please include a summary of the proposed changes below. --> This change introduces a new set of optional headers which update the user's profile when using Remote Authentication. The original issue references specifically first names, however this change looks at the whole user's profile. --- <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:21:38 +01:00
adam closed this issue 2025-12-29 23:21:38 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13935