liveBook · Manning

Duende IdentityServer

As explained in .NET MAUI in Action

IdentityServer is an OpenID Connect-compliant framework for implementing authentication and identity services in ASP.NET Core applications.

Duende IdentityServer provides an OpenID Connect-compliant authentication service for ASP.NET Core applications. A .NET MAUI app opens the identity provider’s login page in a browser, receives an authorization result, and obtains a JSON Web Token for protected API calls. section 8.1.2

MauiStockTake authentication

AuthService configures OidcClientOptions, calls LoginAsync, and receives a JWT after the user signs in through IdentityServer. The token can then authenticate calls to the MauiStockTake API. section 8.1.2

How .NET MAUI in Action covers it

How deep it goes
Explains the browser-and-token flow and client integration, while deferring identity and authentication theory.
Examples
Uses the MauiStockTake API, AuthService, custom redirect schemes, platform manifests, and a six-step login sequence.
What it assumes
Assumes basic familiarity with identity and authentication while teaching the practical browser-mediated login flow.
What you can do after
Apply it via OidcClient to build browser-based login and obtain JWTs for authenticated API calls.
How it connects
Connects OpenID Connect, OAuth2, JSON Web Tokens, WebAuthenticator, OidcClient, and cloud identity providers.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of .NET MAUI in Action. The section links point to the parts of the book it draws on.