-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Description
NetBox version
v3.2.2
Feature type
New functionality
Proposed functionality
I'd like to have a configuration option to set a custom URL for the Logout Button in Netbox.
Use case
I'm using Authentik for authentication. This means Netbox is protected by a reverse proxy that handles authentication and hands over the logged in user to Netbox via an HTTP header, configured by the Netbox option REMOTE_AUTH_HEADER.
When clicking "Logout" in Netbox Menu nothing happens because no logout in Authentik is made and I'm immediatly re-logged-in in Netbox (the HTTP header set by the reverse proxy is still present because the session in Authentik is still active). To solve this problem a configurable Logout URL is needed, so the click on logout in netbox calls the sign_out URL of Authentik.
Perhaps https://goauthentik.io/docs/providers/proxy/ and https://goauthentik.io/docs/providers/proxy/#logging-out can help to get a full picture of what I'm trying to achieve.
Database changes
None.
External dependencies
None.