惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - Franky
T
Tailwind CSS Blog
Microsoft Azure Blog
Microsoft Azure Blog
The Cloudflare Blog
博客园 - 叶小钗
N
Netflix TechBlog - Medium
罗磊的独立博客
量子位
MyScale Blog
MyScale Blog
A
About on SuperTechFans
Blog — PlanetScale
Blog — PlanetScale
V
Visual Studio Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
GbyAI
GbyAI
B
Blog
腾讯CDC
爱范儿
爱范儿
Recent Announcements
Recent Announcements
有赞技术团队
有赞技术团队
F
Fortinet All Blogs
雷峰网
雷峰网
G
Google Developers Blog
Google DeepMind News
Google DeepMind News

Duende Software Official Site

The Backend for Frontend Pattern Is Now Official IETF Guidance: RFC 10017 Published WhatsApp One-Time Password (OTP) Login with Duende IdentityServer and User Management Client Secrets, Mutual TLS and Private Key JWT, Oh My! How To Spell "Duende" Understanding .NET 11 Automatic CSRF Protection: A Guide for Identity Developers Security Lingo Explained: TOTP (Time-based One-Time Password) Custom Passkey Attestation Policies: Restricting Login to Hardware Keys OAuth Identity Chaining, Transaction Tokens, and Human-in-the-Loop: Summer 2026 Identity Standards Recap What is Identity? - The Question Every Team Should Answer Before Writing Code Security Is a Spectrum: How to Choose Session Lifetimes in Duende IdentityServer Passkeys and WebAuthn with Duende IdentityServer and User Management Authenticating Players in Godot 4 with OAuth 2.0 and OpenID Connect Hardening OAuth in the newest 2026-07-28 MCP Release Candidate Unify Your SAML and OIDC Signing Keys with Automatic Rotation and Duende IdentityServer Duende Software Duende Software Duende Software Duende Software Duende Software Duende Software Duende Software Duende Software Stop AI Bots from Wasting Your Server How Duende IdentityServer Filters Claims (And Why It Matters) Core vs Extended Protocols in Duende IdentityServer v8: What You Get and When You Need More Your IdentityServer v8 Upgrade Checklist: A Quick Pre-Flight Guide Setting Up SAML Single Sign-On in ASP.NET with Duende IdentityServer Your Identity, Your Terms: Duende's Modular Identity Infrastructure and v8.x Release Duende Spring Launch '26: Identity Infrastructure That Expands With You SAML and OpenID Connect (OIDC): Coexistence, Not Competition
Planning a Successful Migration from IdentityServer3 to D...
Khalid Abuhakmeh, Wesley Cabus · 2026-09-08 · via Duende Software Official Site

Remaining stationary on an unsupported identity platform introduces unacceptable compliance and business risks. For organizations running IdentityServer3, moving forward is the only viable option to maintain security hygiene. However, upgrading is not a simple drop-in replacement; it is a comprehensive migration and modernization effort. The closest, logical, and most secure leap is to Duende IdentityServer, which provides full control, compliance, and deep extensibility.

Upgrading IdentityServer4 to Duende IdentityServer is relatively straightforward, as both products share the same origin and were built for ASP.NET Core. IdentityServer3, however, was built for .NET Framework and OWIN, which means more rebuilding effort. That's not a bad thing! It's an opportunity to modernize your identity infrastructure and the underlying architecture.

This architecture guide helps technology leads and architects navigate the strategic decisions, cost drivers, and execution steps necessary for a successful migration.

The Tipping Point: Risk and Data Sovereignty

Architect Action: Document the current compliance audit findings and identify the specific data sovereignty requirements governing your identity infrastructure.

Many organizations find themselves at a crossroads when external security audits deem their legacy identity systems non-compliant. Standing still incurs ongoing maintenance debt and operational risks. While cloud-hosted identity providers exist, legal and compliance restrictions often preclude using public cloud offerings for data access. European organizations, in particular, face stringent data sovereignty laws that require absolute control over where user data resides.

Duende IdentityServer solves this dilemma by offering a self-hosted, standards-compliant framework that runs entirely within your chosen security boundaries. This architecture ensures complete ownership of your data, infrastructure, and compliance posture.

Estimating Scope and Project Complexity

Architect Action: Conduct an initial impact analysis of the legacy application host to determine the scale of modernization required.

A major migration project can span several months, while some may take weeks. The primary driver of the timeline is typically not the core identity framework migration itself, but the broader application modernization that accompanies it.

A typical migration scope often includes:

  • Framework Modernization: Upgrading legacy applications, for example, moving the host application from ASP.NET MVC to ASP.NET Core MVC.
  • User Experience Refresh: Updating the user interface and user experience flows for login, logout, and consent.
  • Infrastructure Integration: Connecting to contemporary infrastructure components such as Microsoft Entra ID, Okta, or Auth0. If operating in Europe, you may also need to integrate eID solutions for your native country.

The more complex your existing environment, the higher the migration cost. A comprehensive security and code audit is a necessary first step to map dependencies and the legacy architecture.

Engaging a Security Architect or Subject Matter Expert, such as a Duende partner or consultant, early in the process is highly recommended to guide critical code archaeology and navigate complex architectural decisions.

Staying on an unsupported system carries compounding risks; the mounting economic and security debt of maintaining obsolete identity infrastructure will eventually eclipse the total project cost of a modern deployment.

Managing the Core Cost Driver: Customization

Architect Action: Map custom implementations, legacy custom grant types, and workflows to Duende IdentityServer's native features to identify opportunities to reduce bespoke code.

Bespoke efforts and custom extensions represent the highest cost driver when moving off IdentityServer3. Standard features can be migrated straightforwardly through configuration, but custom code requires careful re-evaluation.

Common legacy customizations include:

  • Customized login and logout workflows.
  • Deprecated or insecure protocol flows, such as the implicit and hybrid flows or resource owner password grant.
  • Custom token modification logic and grant validators.

Migrating legacy, insecure flows compromises your security posture. This migration is the ideal opportunity to challenge past implementations and improve security hygiene. To reduce engineering effort, teams should leverage Duende IdentityServer's native capabilities, including built-in support for modern open standards such as FAPI 2.0, dynamic client registration, pushed authorization requests (PAR), and automatic key management.

Navigating Code Archaeology and Dead Paths

Architect Action: Create a sunset plan for all identified dead code paths and deprecated flows before beginning the migration code sprint.

Legacy environments suffer from organizational knowledge loss, often because the original authors of the identity system are no longer with the company. Over time, this results in significant maintenance debt and dead code paths that are no longer in active use.

Before writing new code, execute a thorough discovery phase:

  1. Audit Existing Customizations: Identify every custom interface implementation in your IdentityServer3 codebase.
  2. Telemetry and Logging: Review production logs to verify which endpoints, clients, and scopes are actually receiving traffic.
  3. Prune Unused Configuration and code: Remove dead code paths and legacy configurations instead of porting them to the new system.

Determining Organizational Readiness

Architect Action: Define the target operational model (self-hosted vs. cloud-hosted) based on data sovereignty requirements and team capacity.

Duende IdentityServer is designed for teams that require complete control, deep customization, and self-hosting capabilities. However, operating a dedicated identity provider requires professional discipline, appropriate resources, and ongoing maintenance.

If an organization has a small project footprint, requires zero customization, and can safely use public cloud offerings within its legal jurisdiction, alternative cloud-hosted solutions might fit its operational model. But for organizations where data sovereignty, extensibility, and protocol precision are non-negotiable, Duende IdentityServer remains the definitive choice.

Budgeting for Migration

Architect Action: Develop a TCO (Total Cost of Ownership) analysis comparing the cost of maintaining obsolete identity systems with the licensing and engineering resources required for a modern Duende deployment.

Identity security is not a one-time project but a long-term commitment. Organizations often find that the cost of hiring, training, and retaining a dedicated team of security developers to build and maintain a custom solution, including API documentation and vulnerability scanning, quickly exceeds the cost of a Duende IdentityServer license. When planning your migration budget, factor in both licensing costs and the significant engineering time required for application modernization.

Executing the Leap

Architect Action: Explore the Duende documentation and samples to see the differences and similarities between Duende IdentityServer and IdentityServer3.

To begin the transition process, teams can add the core framework package directly to their new ASP.NET Core project foundation:

dotnet add package Duende.IdentityServer

Also, to get a faster jump start, teams can check out our starter templates.

dotnet add package Duende.Templates

By auditing legacy customizations early, deprecating insecure protocol flows, and focusing resources on building a modern foundation, your organization can successfully eliminate compliance debt and secure its identity infrastructure for the future. If you're ready to migrate to the latest version of Duende IdentityServer, please reach out to us or any one of our worldwide partners.

Explore the Duende Software Documentation to review full configuration patterns and migration examples.