Skip to content

Login fails when BASE_PATH set #10837

@candlerb

Description

@candlerb

NetBox version

v3.3.7

Python version

3.8

Steps to Reproduce

  1. Install netbox v3.3.7 with BASE_PATH = 'netbox/'. Adjust Apache config accordingly.
  2. Try to login with the local admin login.

Expected Behavior

Should be able to login normally.

Observed Behavior

First time you click on the Log In button: you get the login page, and then you are returned to the front screen with a pop-up saying "Logged in as admin". However at this point you are still logged out, and the top-right button shows "Log In" rather than your username. Subsequent clicks of this button just refresh the screen, but you are still logged out.

Tested with Chrome and Firefox: identical behaviour.

This worked with v3.3.5 but doesn't work with v3.3.7. I haven't determined exactly where it changed, but I have reproduced this on two independent systems. This broke in v3.3.6.

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions