From 404be19c2b39941f3c7e117ba069a541be730791 Mon Sep 17 00:00:00 2001 From: unkin-agent Date: Sat, 19 Sep 2026 22:34:04 +1000 Subject: [PATCH] target the Jellyfin 12.0 plugin ABI Move the plugin to net10.0 against Jellyfin.Controller/Model 12.0.0 and declare targetAbi 12.0.0.0. Drop the dead Lib F# project and the System.Security.Cryptography.Xml reference, now provided by the net10.0 shared framework. --- SSO-Auth/Api/SSOController.cs | 1 - SSO-Auth/Lib/Lib.fsproj | 13 ------------- SSO-Auth/Lib/Library.fs | 5 ----- SSO-Auth/SSO-Auth.csproj | 15 +++++---------- build.yaml | 9 +++++---- 5 files changed, 10 insertions(+), 33 deletions(-) delete mode 100644 SSO-Auth/Lib/Lib.fsproj delete mode 100644 SSO-Auth/Lib/Library.fs diff --git a/SSO-Auth/Api/SSOController.cs b/SSO-Auth/Api/SSOController.cs index 3deeb49..3132b32 100644 --- a/SSO-Auth/Api/SSOController.cs +++ b/SSO-Auth/Api/SSOController.cs @@ -28,7 +28,6 @@ using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using Newtonsoft.Json; using Newtonsoft.Json.Linq; -using SSO_Auth.Lib; namespace Jellyfin.Plugin.SSO_Auth.Api; diff --git a/SSO-Auth/Lib/Lib.fsproj b/SSO-Auth/Lib/Lib.fsproj deleted file mode 100644 index 7333d47..0000000 --- a/SSO-Auth/Lib/Lib.fsproj +++ /dev/null @@ -1,13 +0,0 @@ - - - - net9.0 - SSO_Auth - true - - - - - - - diff --git a/SSO-Auth/Lib/Library.fs b/SSO-Auth/Lib/Library.fs deleted file mode 100644 index efa20f0..0000000 --- a/SSO-Auth/Lib/Library.fs +++ /dev/null @@ -1,5 +0,0 @@ -namespace SSO_Auth.Lib - -module Say = - let hello name = - printfn "Hello %s" name diff --git a/SSO-Auth/SSO-Auth.csproj b/SSO-Auth/SSO-Auth.csproj index 603c299..1f4ea7a 100644 --- a/SSO-Auth/SSO-Auth.csproj +++ b/SSO-Auth/SSO-Auth.csproj @@ -1,10 +1,10 @@ - net9.0 + net10.0 Jellyfin.Plugin.SSO_Auth - 4.0.0.4 - 4.0.0.4 + 5.0.0.0 + 5.0.0.0 true false @@ -30,10 +30,9 @@ - - + + - @@ -42,10 +41,6 @@ - - - - ../jellyfin.ruleset diff --git a/build.yaml b/build.yaml index ce78bc0..927a1fc 100644 --- a/build.yaml +++ b/build.yaml @@ -1,10 +1,10 @@ name: "SSO Authentication" guid: "505ce9d1-d916-42fa-86ca-673ef241d7df" imageUrl: "https://raw.githubusercontent.com/9p4/jellyfin-plugin-sso/main/img/logo.png" -version: "4.0.0.4" -targetAbi: "10.11.0.0" -framework: "net9.0" -owner: "9p4" +version: "5.0.0.0" +targetAbi: "12.0.0.0" +framework: "net10.0" +owner: "unkin" overview: "Authenticate users against an SSO provider." description: | This plugin allows users to sign in through an SSO provider (such as Google, Facebook, or your own provider). This enables one-click signin. @@ -15,6 +15,7 @@ artifacts: - "Duende.IdentityModel.OidcClient.dll" - "Duende.IdentityModel.dll" changelog: | + 5.0.0.0: Jellyfin 12.0 4.0.0.4: Fix security issue in SAML 4.0.0.0: Jellyfin 10.11 3.5.3.0: Allow for OID-provided avatars, various bugfixes and workarounds -- 2.47.3