diff --git a/Jellyfin.Plugin.OidcAuth/Api/OidcAuthController.cs b/Jellyfin.Plugin.OidcAuth/Api/OidcAuthController.cs index e954f37..f748701 100644 --- a/Jellyfin.Plugin.OidcAuth/Api/OidcAuthController.cs +++ b/Jellyfin.Plugin.OidcAuth/Api/OidcAuthController.cs @@ -4,7 +4,8 @@ using System.Linq; using System.Text.Json; using System.Threading.Tasks; using IdentityModel.OidcClient; -using Jellyfin.Data.Enums; +using Jellyfin.Data; +using Jellyfin.Database.Implementations.Enums; using Jellyfin.Plugin.OidcAuth.Configuration; using MediaBrowser.Controller.Authentication; using MediaBrowser.Controller.Library; @@ -126,7 +127,7 @@ public class OidcAuthController : ControllerBase // Without a password Jellyfin accepts a blank password for this user // from any client. Users can set their own later in the web profile. await _userManager.ChangePassword( - user, + user.Id, Convert.ToBase64String(System.Security.Cryptography.RandomNumberGenerator.GetBytes(32))) .ConfigureAwait(false); } diff --git a/Jellyfin.Plugin.OidcAuth/Jellyfin.Plugin.OidcAuth.csproj b/Jellyfin.Plugin.OidcAuth/Jellyfin.Plugin.OidcAuth.csproj index 39d525a..e47b883 100644 --- a/Jellyfin.Plugin.OidcAuth/Jellyfin.Plugin.OidcAuth.csproj +++ b/Jellyfin.Plugin.OidcAuth/Jellyfin.Plugin.OidcAuth.csproj @@ -1,17 +1,17 @@ - net8.0 + net9.0 Jellyfin.Plugin.OidcAuth - 1.0.0.0 - 1.0.0.0 + 1.0.1.0 + 1.0.1.0 enable disable true - + diff --git a/README.md b/README.md index b106f9d..53ac657 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ Copy these files from `artifacts/` into a new folder in Jellyfin's plugin direct - `IdentityModel.OidcClient.dll` - `IdentityModel.dll` -Requires Jellyfin 10.10.x. +Requires Jellyfin 10.11.x. ## Configure diff --git a/build.yaml b/build.yaml index a6c868d..df2c90d 100644 --- a/build.yaml +++ b/build.yaml @@ -1,9 +1,9 @@ --- name: "OIDC Auth" guid: "96badb44-9940-4ff0-befc-5f987159152c" -version: "1.0.0.0" -targetAbi: "10.10.0.0" -framework: "net8.0" +version: "1.0.1.0" +targetAbi: "10.11.0.0" +framework: "net9.0" owner: "pascallinxweiler" overview: "Log in to Jellyfin with an OpenID Connect provider" description: > diff --git a/dist/oidc-auth_1.0.0.0.zip b/dist/oidc-auth_1.0.1.0.zip similarity index 85% rename from dist/oidc-auth_1.0.0.0.zip rename to dist/oidc-auth_1.0.1.0.zip index 077b294..02b9fad 100644 Binary files a/dist/oidc-auth_1.0.0.0.zip and b/dist/oidc-auth_1.0.1.0.zip differ diff --git a/manifest.json b/manifest.json index 294e6c4..50f6b4b 100644 --- a/manifest.json +++ b/manifest.json @@ -8,12 +8,12 @@ "category": "Authentication", "versions": [ { - "version": "1.0.0.0", - "changelog": "Initial release.", - "targetAbi": "10.10.0.0", - "sourceUrl": "https://git.linxweiler.xyz/pascallinxweiler/jellyfinplugin/raw/branch/main/dist/oidc-auth_1.0.0.0.zip", - "checksum": "178db5af78c0a5d7cb0d1910338f5fde", - "timestamp": "2026-07-13T00:00:00Z" + "version": "1.0.1.0", + "changelog": "Rebuilt for Jellyfin 10.11 (net9.0).", + "targetAbi": "10.11.0.0", + "sourceUrl": "https://git.linxweiler.xyz/pascallinxweiler/jellyfinplugin/raw/branch/main/dist/oidc-auth_1.0.1.0.zip", + "checksum": "8095740b87cf862ad41bc50ccbdb7443", + "timestamp": "2026-07-13T12:00:00Z" } ] }