Rolling Your Own SSO: Centralized Authentication with OpenIddict

This practical guide by Dustin Kingen demonstrates how to implement centralized SSO using OpenIddict for multiple .NET applications, presenting design strategies and integration tips for improved authentication.

Rolling Your Own SSO: Centralized Authentication with OpenIddict

Managing authentication across multiple apps often leads to duplicated logic, fragmented user tables, and unreliable external providers. In his .NET Conf 2025 session, Dustin Kingen addresses these issues by presenting a practical approach to build a centralized Single Sign-On (SSO) server using OpenIddict.

Why Roll Your Own SSO?

Solution Overview

Key Design Considerations

Integration Best Practices

Blueprint Steps

  1. Assess Requirements: List project constraints and platform compatibility.
  2. Design SSO Architecture: Choose OpenIddict, plan deployment topology.
  3. Implement Central Auth Service: Develop login, token, and user workflow endpoints.
  4. Integrate Applications: Update apps to delegate authentication to new SSO server.
  5. Test and Document: Validate flows, write integration guides.

When to Use This Approach

Further Resources


Session by Dustin Kingen