Configuring SSO Middleware in ASP.NET Core

Learn how to configure single sign-on in authentication and authorization middleware of ASP.NET Core.

While configuring any type of authentication and authorization middleware in ASP.NET Core requires the same basic principles to be applied, configuring SSO requires specific steps. The details also depend on whether the application to configure contains the UI that initiates the SSO flow or if it's a headless API that relies on another application to authenticate on its behalf.

We will examine how SSO is typically configured inside an ASP.NET Core application with the help of the playground below. This playground contains a headless web API application that accepts an access token from a client application that attempts to connect to it.

Get hands-on with 1400+ tech skills courses.