Developer Tools

IdentityServer Architecture Planner

Drag your IdentityServer deployments, apps, APIs and identity providers onto the canvas to draw your identity and access management (IAM) architecture, and see which Duende plan and add-ons match it.

License type

Stored only in this browser.

Share This Diagram

The link contains your diagram (names and URLs). Anyone with the link can see it.

This diagram and plan suggestion are a non-binding estimate. Your actual licensing is confirmed by Duende, based on your Order and the license agreement.

Palette is off in the License view. Switch to Architecture to edit.

How Do You Want to Start?

Pick a Template

View
This is your license summary. Switch to Architecture to see or edit the full diagram.
Your plan

Drag the background to pan. Over the canvas, the mouse wheel zooms and Shift + wheel pans sideways. On a trackpad, two fingers pan and pinch zooms. The page scrolls as usual elsewhere.

Editing works best on a larger screen.

Summary of what counts for licensing. Switch to Architecture to edit.

Your Recommended Plan

The plan that matches the components on your canvas.


  • Redistribution licenses are tailored to how you ship IdentityServer to your customers. Talk to an expert about your setup.
  • No add-ons needed.

Talk to an Expert

Why We Recommend This

This diagram and plan suggestion are a non-binding estimate. Your actual licensing is confirmed by Duende, based on your Order and the license agreement. See the license agreement. The planner doesn't calculate prices; see the pricing page. Plan data from duendesoftware.com/pricing, built . Bundled rules 2026-10-15.

What Is an IAM Architecture?

An identity and access management (IAM) architecture shows who signs in, to what, and which system decides. In a Duende setup that system is IdentityServer, the identity provider at the center of the diagram.

Four kinds of parts sit around it:

  • Connected Apps sign users in or request tokens: web apps, a BFF (backend for frontend) host that serves your single-page app, mobile apps and services.
  • APIs trust the tokens IdentityServer issues and check them on every call.
  • Upstream identity providers such as Microsoft Entra ID, Okta or a SAML identity provider let users sign in with accounts they already have. IdentityServer federates to them.
  • The user store holds local users, for example in Duende User Management.

A BFF keeps tokens on the server, so browser code never handles them. The single-page app behind it counts as a BFF frontend, and the BFF host is the part that registers with IdentityServer.

Single sign-on (SSO) happens at IdentityServer. A user signs in once, and each Connected App that trusts it can reuse that session. One SSO architecture can serve many apps without a separate login for each.

The protocols have separate jobs. OpenID Connect handles sign-in and tells an app who the user is. OAuth 2.0 handles API access and lets an app call an API with an access token. SAML 2.0 connects enterprise service providers and upstream SAML identity providers that expect it.

An IAM architecture diagram makes these links visible. In this planner the same diagram also drives the estimate above: Connected Apps, BFF frontends and production deployments are counted from what you draw.

To draw one, start with IdentityServer, then add the apps that sign in and the APIs they call. Add upstream identity providers last. They change how users arrive, and the apps still receive tokens from IdentityServer.

Draw yours above, or start from a template: SPA + BFF, Federation hub or Multi-tenant SaaS.

Frequently Asked Questions

  • A Connected Application (Connected App) is any application or service registered with your Duende IdentityServer instance that relies on it for identity, access, or federation. Connected Apps are the unit we use to measure usage for licensing. Each Connected App has its own registration that defines how it interacts with IdentityServer and what it is allowed to do.

    Connected Apps fall into these categories:

    1. Interactive applications use OpenID Connect (OIDC) to authenticate users and obtain tokens. These include web apps, native mobile or desktop applications, and SPAs, each identified by its own client ID.
    2. Machine-to-machine clients request access tokens without user interaction, typically using the client credentials grant. Background services, APIs calling other APIs, and MCP clients are common examples.
    3. Third-party API consumers that use a client ID and client secret, typically in SaaS or B2B situations.
    4. SAML Service Providers use SAML 2.0 to establish federated trust with IdentityServer acting as the Identity Provider (IdP), enabling single sign-on for apps that rely on SAML-based authentication.

    Each separate registration counts as a separate Connected App, including when the same application is registered under more than one protocol.

  • Each separate registration or configuration in IdentityServer counts as one Connected App. Some common examples:

    • One client with multiple redirect URIs, grant types, or scopes: 1 Connected App.
    • Two separately registered SAML Service Providers: 2 Connected Apps.
    • The same application registered with both OpenID Connect and SAML: 2 Connected Apps.
    • A machine-to-machine integration with its own client credentials registration: 1 Connected App, no matter how many machines use it.
    • One BFF host serving two frontends that each have their own client registration: 2 Connected Apps.
    • Clients registered through Dynamic Client Registration: 1 Connected App per registered client.
    • IdentityServer connecting to external identity providers through dynamic providers: not counted as Connected Apps.
  • A deployment is a single authority that supports OpenID Connect, OAuth, or SAML, hosted at a single URL. It may span multiple physical or virtual nodes to support load balancing and failover, while still counting as one deployment for licensing purposes.

  • Self-hosted means you are running Duende IdentityServer on your own infrastructure - whether that's your own data center or a cloud subscription you own. Standard licenses cover this model but do not permit redistribution to infrastructure owned by your business customers.

    Redistribution is a separate license type designed for customers who want to bundle Duende IdentityServer as part of a product that they distribute to customers. Note that a redistribution license is tied to a specific product and cannot be used as a general-purpose identity provider for applications outside of that product.

    If you plan to ship Duende IdentityServer as part of a product to your customers, you will need a redistribution license. Self-hosted and redistribution licenses are priced separately. See the self-hosted pricing and redistribution pricing pages.


  • The planner applies the published plan limits to the architecture you describe and assumes the latest IdentityServer. It can't see your Order or negotiated terms, and it never calculates prices. Your Order and the license agreement decide what is licensed.

More answers are in the full FAQ.

  • SAML Decoder

    Decode SAML requests and responses (POST or Redirect binding) and inspect assertions, conditions and signatures.

  • OIDC Discovery Explorer

    Fetch and explore an OpenID Connect discovery document and its endpoints.

Build on Duende IdentityServer

The OpenID Connect and OAuth 2.0 framework for ASP.NET Core, from the team that built this tool.