Ldun.IdentityServer4.EntityFramework.Storage
5.0.2
See the version list below for details.
dotnet add package Ldun.IdentityServer4.EntityFramework.Storage --version 5.0.2
NuGet\Install-Package Ldun.IdentityServer4.EntityFramework.Storage -Version 5.0.2
<PackageReference Include="Ldun.IdentityServer4.EntityFramework.Storage" Version="5.0.2" />
<PackageVersion Include="Ldun.IdentityServer4.EntityFramework.Storage" Version="5.0.2" />
<PackageReference Include="Ldun.IdentityServer4.EntityFramework.Storage" />
paket add Ldun.IdentityServer4.EntityFramework.Storage --version 5.0.2
#r "nuget: Ldun.IdentityServer4.EntityFramework.Storage, 5.0.2"
#:package Ldun.IdentityServer4.EntityFramework.Storage@5.0.2
#addin nuget:?package=Ldun.IdentityServer4.EntityFramework.Storage&version=5.0.2
#tool nuget:?package=Ldun.IdentityServer4.EntityFramework.Storage&version=5.0.2
Ldun Fork Status
This repository is an actively maintained ldun fork of IdentityServer4 for .NET 8 usage and security maintenance.
Published NuGet packages:
Ldun.IdentityServer4Ldun.IdentityServer4.StorageLdun.IdentityServer4.AspNetIdentityLdun.IdentityServer4.EntityFramework.StorageLdun.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:
Before After IdentityServer4Ldun.IdentityServer4IdentityServer4.StorageLdun.IdentityServer4.StorageIdentityServer4.AspNetIdentityLdun.IdentityServer4.AspNetIdentityIdentityServer4.EntityFramework.StorageLdun.IdentityServer4.EntityFramework.StorageIdentityServer4.EntityFrameworkLdun.IdentityServer4.EntityFrameworkTarget .NET 8 or later — multi-framework targeting (
net6.0,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()StrictJarValidation — this option now emits
Warning-level log messages for any client sending non-conforming JWT authorization request objects (JAR / RFC 9101). Review your logs after upgrading and migrate non-conforming clients before enabling strict enforcement:services.AddIdentityServer(options => { options.StrictJarValidation = true; // enable after all clients are conformant });
About IdentityServer4
<img align="right" width="100px" src="https://dotnetfoundation.org/img/logo_big.svg" />
IdentityServer is a free, open source OpenID Connect and OAuth 2.0 framework for ASP.NET Core. Founded and maintained by Dominick Baier and Brock Allen, IdentityServer4 incorporates all the protocol implementations and extensibility points needed to integrate token-based authentication, single-sign-on and API access control in your applications. IdentityServer4 is officially certified by the OpenID Foundation and thus spec-compliant and interoperable. It is part of the .NET Foundation, and operates under their code of conduct. It is licensed under Apache 2 (an OSI approved license).
For project documentation, please visit readthedocs.
Branch structure
Active development happens on the main branch. This always contains the latest version. Each (pre-) release is tagged with the corresponding version. The aspnetcore1 and aspnetcore2 branches contain the latest versions of the older ASP.NET Core based versions.
How to build
- Install the latest .NET 8 SDK
- Install Git
- Clone this repo
- Run
build.ps1orbuild.shin the root of the cloned repo
Benchmark and Load Tests
Load and performance validation scripts are available in benchmark/.
Profile-based targets are available:
localdefault profile:>= 600successful tokens/second andp95 < 700ms.cidefault profile:>= 1000successful tokens/second andp95 < 250ms.- Rate-limit stress scenario included for host/infrastructure DDoS controls.
- Benchmark runner auto-starts local
src/IdentityServer4/hostby default.
Run:
./benchmark/run.sh
Run strict profile locally:
BENCH_PROFILE=ci ./benchmark/run.sh
Release Validation and Publish
Step 1 - pre-publish verification gate (restore + build + tests + vulnerability scan + optional benchmark):
RUN_BENCHMARKS=0 ./scripts/verify.sh
Step 2 - package all NuGet artifacts:
./scripts/pack.sh --version 5.0.0 --out /tmp/ids4-pack-5.0.0
Step 3 - consumer package E2E gate against pre-packed artifacts:
./scripts/e2e-consumer.sh --version 5.0.0 --source /tmp/ids4-pack-5.0.0
Optional local consumer E2E with auto-pack:
./scripts/e2e-consumer.sh --version 5.0.0
Step 4 - publish prepared artifacts:
./scripts/publish.sh --version 5.0.0 --out /tmp/ids4-pack-5.0.0
Interactive all-in-one orchestrator (prompts for version + NuGet API key and runs all steps):
./scripts/release.sh
Compatibility aliases are still available:
./publish-nuget.sh→./scripts/release.sh./scripts/verify-release.sh→./scripts/verify.sh
Documentation
For project documentation, please visit readthedocs.
See here for the 1.x docs, and here for the 2.x docs.
Bug reports and feature requests
Please use the issue tracker for that. We only support the latest version for free. For older versions, you can get a commercial support agreement with us.
Commercial and Community Support
If you need help with implementing IdentityServer4 or your security architecture in general, there are both free and commercial support options. See here for more details.
Sponsorship
If you are a fan of the project or a company that relies on IdentityServer, you might want to consider sponsoring. This will help us devote more time to answering questions and doing feature development. If you are interested please head to our Patreon page which has further details.
Platinum Sponsors
Corporate Sponsors
Ritter Insurance Marketing
ExtraNetUserManager
Knab
You can see a list of our current sponsors here - and for companies we have some nice advertisement options as well.
Acknowledgements
IdentityServer4 is built using the following great open source projects and free services:
..and last but not least a big thanks to all our contributors!
| Product | Versions 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. |
-
net8.0
- AutoMapper (>= 16.1.1)
- Ldun.IdentityServer4.Storage (>= 5.0.2)
- Microsoft.EntityFrameworkCore.Relational (>= 8.0.26)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Ldun.IdentityServer4.EntityFramework.Storage:
| Package | Downloads |
|---|---|
|
Ldun.IdentityServer4.EntityFramework
EntityFramework persistence layer for IdentityServer4 |
GitHub repositories
This package is not used by any popular GitHub repositories.