Skip to content

chore: drop the deprecated IdentityServer4 package - #85

Merged
brunobritodev merged 1 commit into
masterfrom
chore/drop-identityserver4
Nov 18, 2026
Merged

brunobritodev merged 1 commit into
masterfrom
chore/drop-identityserver4

Conversation

@brunobritodev

Copy link
Copy Markdown
Member

Why

IdentityServer4 4.1.2 is EOL since 2022, was built for .NET Core 3.1 and has advisories that will never be fixed (GHSA-55p7-v223-x366, GHSA-ff4q-64jc-gx98). Since everything now targets .NET 10 (ADR-005), we kept shipping a new version of a package nobody should adopt, just to stay compatible.

What changes

  • Removes src/NetDevPack.Security.Jwt.IdentityServer4 and samples/3_IdentityServer4 from the repo and the solution. 11.0.0 is the last version of NetDevPack.Security.Jwt.IdentityServer4.
  • Removes IdentityServer4 and Newtonsoft.Json from Directory.Packages.props. Only that project used them.
  • CI vulnerability check, Dependabot and NuGet Audit run with no exceptions now.
  • README: the IdentityServer4 section is replaced by a deprecation note pointing to Duende IdentityServer or OpenIddict.
  • Vault: new ADR-006 supersedes ADR-002; Overview, Samples, Policy, Build-Test and Known-Issues are updated. CLAUDE.md/AGENTS.md are updated as well.

Release

chore: → no new version. The other packages' public API doesn't change.

After merging

Mark every version of NetDevPack.Security.Jwt.IdentityServer4 as deprecated on nuget.org (Legacy + Critical bugs). Suggested alternative: NetDevPack.Security.Jwt.AspNetCore.

Validation

  • Build and tests on net10.0: 518/518.
  • dotnet list package --vulnerable --include-transitive: no vulnerable packages in any project.

IdentityServer4 4.1.2 is EOL, built for .NET Core 3.1 and has advisories
that will never be fixed. 11.0.0 is the last version of
NetDevPack.Security.Jwt.IdentityServer4; it will be marked as deprecated
on nuget.org.

Removes the project and samples/3_IdentityServer4, and with them the
only NU1902 suppression, the CI vulnerability exception and the
Dependabot ignore rule. ADR-006 supersedes ADR-002.
@brunobritodev
brunobritodev merged commit 92af15c into master Nov 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant