jellyfin-web icon indicating copy to clipboard operation
jellyfin-web copied to clipboard

[Issue]: Running multiple instance of Jellyfin with different Base URL will load the 1st instance that you logged in

Open vavtnen opened this issue 9 months ago • 2 comments

Please describe your bug

Running https://example.com/movies and https://example.com/pictures will not work.

Jellyfin will try to connect to the last instance that you logged on. Possible security risk as it will try to send token from 1st instance to 2nd instance.

Clearing browser's data will let you log on to 2nd instance.

Reproduction Steps

na

Jellyfin Version

Unstable (master branch)

if other:

No response

Environment

- OS: wsl2
- Clients: web
- Browser: chrome
- Reverse Proxy: caddy
- Base URL: /movies, /pictures

Jellyfin logs

[00:11:56] [INF] [48] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.

FFmpeg logs

No response

Please attach any browser or client logs here

Authorization: MediaBrowser Client="Jellyfin Web", Device="Chrome", DeviceId="xxx", Version="10.9.0", Token="xxx"

Please attach any screenshots here

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

vavtnen avatar Apr 30 '24 04:04 vavtnen