[PR #11505] Allow explicitly set userId for RequestHelpers.GetSession #12924

Closed
opened 2026-02-07 07:04:10 +03:00 by OVERLORD · 0 comments
Owner

Original Pull Request: https://github.com/jellyfin/jellyfin/pull/11505

State: closed
Merged: Yes


Only derive the userId from HttpContext may not work for api keys because there will be no userId for such HttpContext.

PlayedItems might not be the only one has this issue though, need to do a thorough check when we have time.

Changes

Issues

Fixes #11501

**Original Pull Request:** https://github.com/jellyfin/jellyfin/pull/11505 **State:** closed **Merged:** Yes --- Only derive the userId from HttpContext may not work for api keys because there will be no userId for such HttpContext. PlayedItems might not be the only one has this issue though, need to do a thorough check when we have time. <!-- Ensure your title is short, descriptive, and in the imperative mood (Fix X, Change Y, instead of Fixed X, Changed Y). For a good inspiration of what to write in commit messages and PRs please review https://chris.beams.io/posts/git-commit/ and our documentation. --> **Changes** <!-- Describe your changes here in 1-5 sentences. --> **Issues** <!-- Tag any issues that this PR solves here. ex. Fixes # --> Fixes #11501
OVERLORD added the pull-request label 2026-02-07 07:04:10 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#12924