Ldun.IdentityServer4.EntityFramework 5.0.3

dotnet add package Ldun.IdentityServer4.EntityFramework --version 5.0.3
                    
NuGet\Install-Package Ldun.IdentityServer4.EntityFramework -Version 5.0.3
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Ldun.IdentityServer4.EntityFramework" Version="5.0.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Ldun.IdentityServer4.EntityFramework" Version="5.0.3" />
                    
Directory.Packages.props
<PackageReference Include="Ldun.IdentityServer4.EntityFramework" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Ldun.IdentityServer4.EntityFramework --version 5.0.3
                    
#r "nuget: Ldun.IdentityServer4.EntityFramework, 5.0.3"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Ldun.IdentityServer4.EntityFramework@5.0.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Ldun.IdentityServer4.EntityFramework&version=5.0.3
                    
Install as a Cake Addin
#tool nuget:?package=Ldun.IdentityServer4.EntityFramework&version=5.0.3
                    
Install as a Cake Tool

Ldun IdentityServer4 Fork

This repository is an actively maintained ldun fork of IdentityServer4 for .NET 8 usage and security maintenance.

IdentityServer4 is an OpenID Connect and OAuth 2.0 framework for ASP.NET Core. This fork is derived from cnblogs/IdentityServer4 and the original IdentityServer4 codebase. It is maintained independently for ldun-managed use cases.

The project remains licensed under Apache 2.0.

Packages

Published NuGet packages:

  • Ldun.IdentityServer4
  • Ldun.IdentityServer4.Storage
  • Ldun.IdentityServer4.AspNetIdentity
  • Ldun.IdentityServer4.EntityFramework.Storage
  • Ldun.IdentityServer4.EntityFramework

The project remains licensed under Apache 2.0.

Historical upstream context: the original IdentityServer4 project moved forward under Duende Software. This fork keeps the IdentityServer4 codebase available for ldun-managed use cases.

Migrating from the original IdentityServer4 packages

If you are migrating from the upstream IdentityServer4 NuGet packages, replace package references only. Namespace usage in code typically remains IdentityServer4.

Before After
IdentityServer4 Ldun.IdentityServer4
IdentityServer4.Storage Ldun.IdentityServer4.Storage
IdentityServer4.AspNetIdentity Ldun.IdentityServer4.AspNetIdentity
IdentityServer4.EntityFramework.Storage Ldun.IdentityServer4.EntityFramework.Storage
IdentityServer4.EntityFramework Ldun.IdentityServer4.EntityFramework

Target .NET 8 or later. Multi-framework targeting for net6.0 and net7.0 is not supported by this fork.

Removed APIs

The following members were removed; update call sites accordingly:

Removed Replacement
PrincipalExtensions.GetSubjectId() PrincipalExtensions.GetDisplayName()
PrincipalExtensions.GetName() PrincipalExtensions.GetDisplayName()

Strict JAR Validation

StrictJarValidation emits Warning-level log messages for clients sending non-conforming JWT authorization request objects (JAR / RFC 9101). Review logs after upgrading and migrate non-conforming clients before enabling strict enforcement:

services.AddIdentityServer(options =>
{
    options.StrictJarValidation = true; // enable after all clients are conformant
});

Build

Install the .NET 8 SDK and Git, then run the platform build script from the repository root:

./build.sh

On Windows:

.\build.ps1

Verification

Run the local verification gate before release work:

./scripts/verify.sh

The verification script covers restore, build, tests, vulnerability checks, and optional benchmarks.

Benchmark and load-test details live in benchmark/README.md.

Release and Publishing

NuGet publishing is automated through GitHub Actions in .github/workflows/publish.yml.

Maintainers should trigger the Publish NuGet Packages workflow from a signed v* tag or with workflow_dispatch. See .github/MAINTAINER_PUBLISHING.md for maintainer notes.

Do not put private credentials, internal release procedure, or duplicated workflow internals in this README.

Documentation

Fork-specific migration notes are available in docs/migration/from-identityserver4.rst.

The broader documentation under docs/ is inherited from upstream IdentityServer4 and may still contain upstream package names, links, and support references. Treat those pages as technical reference material until they are fully fork-updated.

Issues and Contributions

Use this repository's issue tracker and pull requests for fork-specific bugs, maintenance work, and documentation fixes.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
5.0.3 148 4/24/2026
5.0.2 2,150 4/21/2026
5.0.1 112 4/21/2026