[PR #7080] [MERGED] Allow ApiKey query parameter for authentication #11261

Closed
opened 2026-02-07 06:35:16 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/7080
Author: @crobibero
Created: 1/1/2022
Status: Merged
Merged: 1/4/2022
Merged by: @crobibero

Base: masterHead: ws-token


📝 Commits (1)

  • 0765fd5 Use IAuthorizationContext for websocket

📊 Changes

7 files changed (+32 additions, -43 deletions)

View changed files

📝 Emby.Server.Implementations/HttpServer/WebSocketConnection.cs (+1 -10)
📝 Emby.Server.Implementations/HttpServer/WebSocketManager.cs (+3 -3)
📝 Emby.Server.Implementations/Session/SessionWebSocketListener.cs (+19 -18)
📝 MediaBrowser.Controller/Net/BasePeriodicWebSocketListener.cs (+2 -1)
📝 MediaBrowser.Controller/Net/IWebSocketConnection.cs (+0 -6)
📝 MediaBrowser.Controller/Net/IWebSocketListener.cs (+3 -1)
📝 tests/Jellyfin.Server.Implementations.Tests/HttpServer/WebSocketConnectionTests.cs (+4 -4)

📄 Description

Changes
Adds the ability to use ApiKey instead of api_key to authenticate when connecting the websocket.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/7080 **Author:** [@crobibero](https://github.com/crobibero) **Created:** 1/1/2022 **Status:** ✅ Merged **Merged:** 1/4/2022 **Merged by:** [@crobibero](https://github.com/crobibero) **Base:** `master` ← **Head:** `ws-token` --- ### 📝 Commits (1) - [`0765fd5`](https://github.com/jellyfin/jellyfin/commit/0765fd568f9b5572bc41e8352cf188beb60ca2f0) Use IAuthorizationContext for websocket ### 📊 Changes **7 files changed** (+32 additions, -43 deletions) <details> <summary>View changed files</summary> 📝 `Emby.Server.Implementations/HttpServer/WebSocketConnection.cs` (+1 -10) 📝 `Emby.Server.Implementations/HttpServer/WebSocketManager.cs` (+3 -3) 📝 `Emby.Server.Implementations/Session/SessionWebSocketListener.cs` (+19 -18) 📝 `MediaBrowser.Controller/Net/BasePeriodicWebSocketListener.cs` (+2 -1) 📝 `MediaBrowser.Controller/Net/IWebSocketConnection.cs` (+0 -6) 📝 `MediaBrowser.Controller/Net/IWebSocketListener.cs` (+3 -1) 📝 `tests/Jellyfin.Server.Implementations.Tests/HttpServer/WebSocketConnectionTests.cs` (+4 -4) </details> ### 📄 Description <!-- 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** Adds the ability to use `ApiKey` instead of `api_key` to authenticate when connecting the websocket. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 06:35:16 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#11261