Skip to content

⭐ Identity.API

Terrence Daniels edited this page Aug 20, 2026 · 3 revisions

In progress. .csproj, GlobalUsings.cs, and a placeholder Program.cs added; source review of the Quickstart UI, Config.cs, ApplicationDbContext.cs, etc. hasn't started yet.

Identity.API is Duende IdentityServer — the OIDC/OAuth provider the whole system authenticates against, backed by ASP.NET Core Identity and EF Core. Much larger than every project migrated so far (a full MVC app: Duende's Quickstart UI, Razor views, wwwroot assets, EF Core migrations — not a small library), so a few scoping decisions got made up front:

  • 22 files confirmed dead, excluded from the migration: Models/AccountViewModels/ConsentViewModels/ManageViewModels/ErrorViewModel.cs — leftovers from an older ASP.NET Core Identity UI scaffold, superseded by Duende's own Quickstart/Account/Quickstart/Consent/Quickstart/Home. Confirmed via a real repo-wide grep against the upstream snapshot — zero references anywhere outside each file's own namespace declaration.
  • The Quickstart Razor UI is being added as-is for now, even though a new Identity.WebApp project (decided 2026-08-20) will eventually replace all of it with React. Reviewed like every other file, not skipped or redesigned speculatively — the conversion happens when that project's work actually starts.
  • A real Duende.IdentityServer.EntityFramework.Storage version conflict got found and fixed trying to restore this project for the first time (NU1109 package downgrade — pinned below what a sibling package required). All 4 Duende.IdentityServer.* packages are now unified under one central version variable instead of mismatched hardcoded pins.
  • Program.cs is a placeholder, not reviewed — Microsoft.NET.Sdk.Web needs a Main method to build at all, a real structural difference from every plain class-library project added so far. Gets replaced with the real, fully-reviewed version later in this project's normal migration order.

Tracked via real GitHub Issues with native parent/child linking: #10 "Identity.API" (parent) with #11 "Identity.WebApp" (child) — the React migration is dependent work under this project, not a peer.

Full detail and commit hashes in todo.md's Identity.API section.

Clone this wiki locally