mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[Bug] Assets fail to load behind Basic Auth (/Startup/Configuration & /Localization/Options) #6839
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @maltfield on GitHub (Mar 23, 2025).
Description of the bug
There is a bug in jellyfin that prevents the user from proceeding from the first step of the installation wizard when jellyfin is placed behind basic auth.
To protect against application or common authentication vulnerabilities, it is common-practice to put websites behind HTTP Basic Auth. This is a layered security measure that eliminates application vulnerabilities from being a vector of compromise.
Fortunately, jellyfin loads fine behind an nginx proxy using basic auth.
Unfortunately, there is a bug in jellyfin that prevents two assets from being loaded -- thus blocking the install wizard from being able to run when loaded behind an nginx proxy using basic auth.
Reproduction steps
server{}block, just above thelocation{}block that passes the traffic back to jellyfin on port 8096What is the current bug behavior?
Jellyfin cannot be installed. This is because the drop-down menu of languages is empty.
This is because jellyfin fails to load the following asset due to a 401 error:
Also note there's another asset that fails to load:
What is the expected correct behavior?
All assets should load, the dropdown menu (of languages) should be populated, and the user should be able to select a language to continue with the install configuration of jellyfin
Jellyfin Server version
10.10.0+
Specify commit id
No response
Specify unstable release number
No response
Specify version number
10.10.6
Specify the build version
10.10.6
Environment
Jellyfin logs
FFmpeg logs
Client / Browser logs
No response
Relevant screenshots or videos
No response
Additional information
No response
@crobibero commented on GitHub (Mar 23, 2025):
Jellyfin doesn't support basic auth, so this is not a bug.