[PR #18145] [CLOSED] #15842 Setting to hide login form #15278

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/18145
Author: @tobiasge
Created: 12/3/2024
Status: Closed

Base: featureHead: 15842-hide-form


📝 Commits (1)

📊 Changes

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

View changed files

📝 docs/configuration/security.md (+8 -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

Fixes: #1234, #11672

This doesn't implement the full solution proposed in #15842 but enables administrators to hide the login form when users should only login with a SSO provider. To prevent a complete lockout when the SSO provider is having issues the GET parameter skipsso can be added to the login URL to show the form regardless.

This solution would be enough for our needs. Feel free to close, if it is not to your liking.


🔄 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/18145 **Author:** [@tobiasge](https://github.com/tobiasge) **Created:** 12/3/2024 **Status:** ❌ Closed **Base:** `feature` ← **Head:** `15842-hide-form` --- ### 📝 Commits (1) - [`a324a5e`](https://github.com/netbox-community/netbox/commit/a324a5e9519556b7e12aef8666be83ff44347e1e) #15842 - Hide login form ### 📊 Changes **5 files changed** (+54 additions, -33 deletions) <details> <summary>View changed files</summary> 📝 `docs/configuration/security.md` (+8 -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 ### Fixes: #1234, #11672 This doesn't implement the full solution proposed in #15842 but enables administrators to hide the login form when users should only login with a SSO provider. To prevent a complete lockout when the SSO provider is having issues the GET parameter `skipsso` can be added to the login URL to show the form regardless. This solution would be enough for our needs. Feel free to close, if it is not to your liking. --- <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:21:02 +01:00
adam closed this issue 2025-12-30 00:21:02 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15278