[PR #7709] [MERGED] Closes #7649: Add support for SSO #13271

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/7709
Author: @jeremystretch
Created: 11/1/2021
Status: Merged
Merged: 11/2/2021
Merged by: @jeremystretch

Base: featureHead: 7649-social-auth


📝 Commits (2)

📊 Changes

11 files changed (+93 additions, -14 deletions)

View changed files

📝 base_requirements.txt (+8 -0)
docs/administration/authentication.md (+37 -0)
📝 docs/administration/permissions.md (+1 -1)
📝 docs/release-notes/version-3.1.md (+4 -0)
📝 mkdocs.yml (+1 -0)
📝 netbox/netbox/middleware.py (+1 -10)
📝 netbox/netbox/settings.py (+24 -1)
📝 netbox/netbox/urls.py (+1 -0)
📝 netbox/templates/login.html (+8 -0)
📝 netbox/users/views.py (+6 -2)
📝 requirements.txt (+2 -0)

📄 Description

Closes: #7649

  • Introduce social-auth-core and social-auth-app-django as dependencies
  • Move authentication-exempt URLs to EXEMPT_PATHS setting
  • Simplify LoginRequiredMiddleware
  • Update login view to honor LOGIN_REDIRECT_URL setting
  • Dynamically import all SOCIAL_AUTH_* parameters from configuration.py
  • Append configured auth backends to login page

🔄 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/7709 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 11/1/2021 **Status:** ✅ Merged **Merged:** 11/2/2021 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `feature` ← **Head:** `7649-social-auth` --- ### 📝 Commits (2) - [`339776c`](https://github.com/netbox-community/netbox/commit/339776c139904671fcb745f527f780dc35093f2f) Initial work on SSO support (WIP) - [`b2dc6c5`](https://github.com/netbox-community/netbox/commit/b2dc6c5d3db4a2ea0c42cb873cbaf0ee10e71c73) Changelog & initial docs for #7649 ### 📊 Changes **11 files changed** (+93 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `base_requirements.txt` (+8 -0) ➕ `docs/administration/authentication.md` (+37 -0) 📝 `docs/administration/permissions.md` (+1 -1) 📝 `docs/release-notes/version-3.1.md` (+4 -0) 📝 `mkdocs.yml` (+1 -0) 📝 `netbox/netbox/middleware.py` (+1 -10) 📝 `netbox/netbox/settings.py` (+24 -1) 📝 `netbox/netbox/urls.py` (+1 -0) 📝 `netbox/templates/login.html` (+8 -0) 📝 `netbox/users/views.py` (+6 -2) 📝 `requirements.txt` (+2 -0) </details> ### 📄 Description ### Closes: #7649 - Introduce `social-auth-core` and `social-auth-app-django` as dependencies - Move authentication-exempt URLs to `EXEMPT_PATHS` setting - Simplify LoginRequiredMiddleware - Update login view to honor `LOGIN_REDIRECT_URL` setting - Dynamically import all `SOCIAL_AUTH_*` parameters from `configuration.py` - Append configured auth backends to login page --- <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 22:26:28 +01:00
adam closed this issue 2025-12-29 22:26:28 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13271