AnilistSync 3.0.0.1: revert to bare [Authorize] for Jellyfin 12.0

Jellyfin 12.0 removed the named "DefaultAuthorization" policy; it's now
options.DefaultPolicy (CustomAuthentication scheme + DefaultAuthorizationRequirement).
[Authorize(Policy = "DefaultAuthorization")] therefore threw
InvalidOperationException: "policy not found" on every /AnilistSync/* call.
Bare [Authorize] uses the default policy, which is the intended form.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-10 11:37:22 +02:00
co-authored by claude
parent 15dd74a12a
commit 1e5cf3ef31
4 changed files with 10 additions and 10 deletions
+5 -5
View File
@@ -8,12 +8,12 @@
"category": "General",
"versions": [
{
"version": "3.0.0.0",
"changelog": "Ported to Jellyfin 12.0 (net10.0, targetAbi 12.0.0.0). Plugin API controller now uses the DefaultAuthorization policy instead of a bare [Authorize].",
"version": "3.0.0.1",
"changelog": "Ported to Jellyfin 12.0 (net10.0, targetAbi 12.0.0.0). Reverted the API controller to a bare [Authorize]: Jellyfin 12.0 removed the named DefaultAuthorization policy in favour of the default policy, so [Authorize(Policy = \"DefaultAuthorization\")] threw 'policy not found' on every plugin API call.",
"targetAbi": "12.0.0.0",
"sourceUrl": "https://git.umarumg.de/UmaruMG/AnilistSync/releases/download/v3.0.0.0/AnilistSync_3.0.0.0.zip",
"checksum": "0d9e73866422ff38a5e2bf305076f728",
"timestamp": "2026-09-10T08:54:12Z"
"sourceUrl": "https://git.umarumg.de/UmaruMG/AnilistSync/releases/download/v3.0.0.1/AnilistSync_3.0.0.1.zip",
"checksum": "c65d3c52bd3fa919e5bb9ad3e8d37f1b",
"timestamp": "2026-09-10T09:36:59Z"
},
{
"version": "2.1.0.0",