[PR #4330] [MERGED] Fix ApiKey authentication #10028

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

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/4330
Author: @crobibero
Created: 10/15/2020
Status: Merged
Merged: 11/8/2020
Merged by: @cvium

Base: masterHead: api-key-auth


📝 Commits (6)

📊 Changes

12 files changed (+124 additions, -78 deletions)

View changed files

📝 Emby.Server.Implementations/HttpServer/Security/AuthService.cs (+3 -3)
📝 Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs (+64 -56)
📝 Jellyfin.Api/Auth/BaseAuthorizationHandler.cs (+7 -0)
📝 Jellyfin.Api/Auth/CustomAuthenticationHandler.cs (+6 -7)
📝 Jellyfin.Api/Auth/DefaultAuthorizationPolicy/DefaultAuthorizationHandler.cs (+5 -3)
📝 Jellyfin.Api/Auth/IgnoreParentalControlPolicy/IgnoreParentalControlHandler.cs (+5 -3)
📝 Jellyfin.Api/Auth/LocalAccessPolicy/LocalAccessHandler.cs (+3 -3)
📝 Jellyfin.Api/Constants/InternalClaimTypes.cs (+5 -0)
📝 Jellyfin.Api/Helpers/ClaimHelpers.cs (+13 -0)
📝 MediaBrowser.Controller/Net/AuthorizationInfo.cs (+11 -2)
📝 tests/Jellyfin.Api.Tests/Auth/CustomAuthenticationHandlerTests.cs (+1 -0)
📝 tests/Jellyfin.Api.Tests/TestHelpers.cs (+1 -1)

📄 Description

No description provided


🔄 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/4330 **Author:** [@crobibero](https://github.com/crobibero) **Created:** 10/15/2020 **Status:** ✅ Merged **Merged:** 11/8/2020 **Merged by:** [@cvium](https://github.com/cvium) **Base:** `master` ← **Head:** `api-key-auth` --- ### 📝 Commits (6) - [`39924f9`](https://github.com/jellyfin/jellyfin/commit/39924f99927ae85b85095cfe9c2d7fb4ece7e75a) Allow apikey to authenticate as admin - [`c037d35`](https://github.com/jellyfin/jellyfin/commit/c037d3536d44b32de81a43425fb276ec4af5d103) clean up authorization handlers - [`4b68896`](https://github.com/jellyfin/jellyfin/commit/4b6889615b877448b0a895b36c835e8d332584c6) Fix tests - [`d5c226b`](https://github.com/jellyfin/jellyfin/commit/d5c226b1c3b04fa824adbcdc3eb0cbe09815f643) Move SecurityException - [`981f000`](https://github.com/jellyfin/jellyfin/commit/981f000437467832d78b1eb36d9c449adb38e814) Use proper IsApiKey flag - [`8b83e4e`](https://github.com/jellyfin/jellyfin/commit/8b83e4e972243db618972e33705b959bf98ca9f4) Fix tests ### 📊 Changes **12 files changed** (+124 additions, -78 deletions) <details> <summary>View changed files</summary> 📝 `Emby.Server.Implementations/HttpServer/Security/AuthService.cs` (+3 -3) 📝 `Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs` (+64 -56) 📝 `Jellyfin.Api/Auth/BaseAuthorizationHandler.cs` (+7 -0) 📝 `Jellyfin.Api/Auth/CustomAuthenticationHandler.cs` (+6 -7) 📝 `Jellyfin.Api/Auth/DefaultAuthorizationPolicy/DefaultAuthorizationHandler.cs` (+5 -3) 📝 `Jellyfin.Api/Auth/IgnoreParentalControlPolicy/IgnoreParentalControlHandler.cs` (+5 -3) 📝 `Jellyfin.Api/Auth/LocalAccessPolicy/LocalAccessHandler.cs` (+3 -3) 📝 `Jellyfin.Api/Constants/InternalClaimTypes.cs` (+5 -0) 📝 `Jellyfin.Api/Helpers/ClaimHelpers.cs` (+13 -0) 📝 `MediaBrowser.Controller/Net/AuthorizationInfo.cs` (+11 -2) 📝 `tests/Jellyfin.Api.Tests/Auth/CustomAuthenticationHandlerTests.cs` (+1 -0) 📝 `tests/Jellyfin.Api.Tests/TestHelpers.cs` (+1 -1) </details> ### 📄 Description _No description provided_ --- <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:12:50 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#10028