[PR #18924] [MERGED] Closes: #15842 - Option to hide local login form if SSO is in use #15475

Closed
opened 2025-12-30 00:22:09 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/18924
Author: @bctiemann
Created: 3/17/2025
Status: Merged
Merged: 3/17/2025
Merged by: @jnovinger

Base: featureHead: 15842-hide-form


📝 Commits (3)

📊 Changes

5 files changed (+57 additions, -33 deletions)

View changed files

📝 docs/configuration/security.md (+11 -0)
📝 netbox/account/views.py (+2 -0)
📝 netbox/netbox/configuration_example.py (+3 -0)
📝 netbox/netbox/settings.py (+1 -0)
📝 netbox/templates/login.html (+40 -33)

📄 Description

Closes: #15842

Branched from https://github.com/netbox-community/netbox/pull/18145 by @tobiasge

Provides a new LOGIN_FORM_HIDDEN setting which allows the administrator to hide the local login form, intended only to be used when SSO is used exclusively for authentication. Note that this means local login will be impossible in the event of SSO provider issues, and can be remedied only through a change to the application config and a restart of the service.


🔄 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/18924 **Author:** [@bctiemann](https://github.com/bctiemann) **Created:** 3/17/2025 **Status:** ✅ Merged **Merged:** 3/17/2025 **Merged by:** [@jnovinger](https://github.com/jnovinger) **Base:** `feature` ← **Head:** `15842-hide-form` --- ### 📝 Commits (3) - [`a5ebce5`](https://github.com/netbox-community/netbox/commit/a5ebce5e3630ff5f5b42fed56669d72242666915) #15842 - Hide login form - [`6ceceb5`](https://github.com/netbox-community/netbox/commit/6ceceb5c58480e826627451e529544f2b85c74d0) Remove skipsso backdoor - [`ceb0d69`](https://github.com/netbox-community/netbox/commit/ceb0d693af79e44e72335f4c1c318e78a8aa25fe) Add warning ### 📊 Changes **5 files changed** (+57 additions, -33 deletions) <details> <summary>View changed files</summary> 📝 `docs/configuration/security.md` (+11 -0) 📝 `netbox/account/views.py` (+2 -0) 📝 `netbox/netbox/configuration_example.py` (+3 -0) 📝 `netbox/netbox/settings.py` (+1 -0) 📝 `netbox/templates/login.html` (+40 -33) </details> ### 📄 Description ### Closes: #15842 Branched from https://github.com/netbox-community/netbox/pull/18145 by @tobiasge Provides a new `LOGIN_FORM_HIDDEN` setting which allows the administrator to hide the local login form, intended only to be used when SSO is used exclusively for authentication. Note that this means local login will be impossible in the event of SSO provider issues, and can be remedied only through a change to the application config and a restart of the service. --- <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-30 00:22:09 +01:00
adam closed this issue 2025-12-30 00:22:09 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15475