Abblix.OIDC.Server.MVC 2.4.0

Prefix Reserved
dotnet add package Abblix.OIDC.Server.MVC --version 2.4.0
                    
NuGet\Install-Package Abblix.OIDC.Server.MVC -Version 2.4.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Abblix.OIDC.Server.MVC" Version="2.4.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Abblix.OIDC.Server.MVC" Version="2.4.0" />
                    
Directory.Packages.props
<PackageReference Include="Abblix.OIDC.Server.MVC" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Abblix.OIDC.Server.MVC --version 2.4.0
                    
#r "nuget: Abblix.OIDC.Server.MVC, 2.4.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Abblix.OIDC.Server.MVC@2.4.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Abblix.OIDC.Server.MVC&version=2.4.0
                    
Install as a Cake Addin
#tool nuget:?package=Abblix.OIDC.Server.MVC&version=2.4.0
                    
Install as a Cake Tool

Abblix OIDC Server MVC

Abblix.OIDC.Server.MVC integrates the Abblix OIDC Server with ASP.NET Core MVC, providing controller classes, model binding, and routing for the OpenID Connect endpoints. This is the recommended package for controller-based ASP.NET Core applications; hosts without MVC take Abblix.OIDC.Server.MinimalAPI instead.

What's New in Version 2.4

🚀 Features

  • Opt-in registration of the endpoints beyond the core set: dynamic client registration, CIBA, check session, revocation, introspection and device authorization
  • Authorization Server Metadata served at its OAuth 2.0 well-known address (RFC 8414)

✏️ Improvements

  • A default cross-origin policy for the OIDC endpoints, so a browser client reads discovery, the key set and the token and UserInfo responses without the host configuring anything
  • Referencing both transport adapters is refused at startup with a message naming which package to drop, instead of every OIDC request failing with AmbiguousMatchException once the new Minimal API sibling joins the dependency graph

Key Features

  • Standard MVC Integration: Uses ASP.NET controller classes, model binding, and attribute routing - no custom middleware required
  • OIDC Endpoint Controllers: Authorization, token, userinfo, introspection, revocation, device authorization, and more
  • Session Management: Check session iframe and RP-initiated logout with CSP nonce support
  • Front-Channel & Back-Channel Logout: Complete logout notification via both channels
  • Discovery Endpoint: Auto-configured /.well-known/openid-configuration metadata
  • Dynamic Client Registration: REST API for client management per RFC 7591/7592
  • Host-owned interactive pages: login and consent stay in your application - MVC, Razor Pages or anything else - while the package serves the protocol endpoints

Install

dotnet add package Abblix.OIDC.Server.MVC

This package includes Abblix.OIDC.Server, Abblix.JWT, Abblix.DependencyInjection, and Abblix.Utils as transitive dependencies.

Quick Start

var builder = WebApplication.CreateBuilder(args);

builder.Services.AddOidcServices(options =>
{
    options.Clients = new[] { /* client configurations */ };
    options.Scopes = new[] { /* scope definitions */ };
});

var app = builder.Build();
app.UseAuthentication();
app.UseAuthorization();
app.MapControllers();
app.Run();

Endpoint URLs

A host that needs an OIDC endpoint's URL - to point an external identity provider's callback back at the authorization endpoint, say - asks IOidcEndpointResolver:

var authorizationUrl = resolver.Resolve(OidcEndpoints.Authorize);

Both transport adapters register it, so this code is written once and survives a change of adapter; an endpoint the host does not serve resolves to null.

Implemented Standards

This package provides ASP.NET Core MVC endpoints for the full suite of standards implemented by the Abblix OIDC Server core, including:

  • OAuth 2.0: Authorization Code, Implicit, Client Credentials, Device Authorization (RFC 6749, RFC 8628), PKCE (RFC 7636), PAR (RFC 9126), JAR (RFC 9101), DPoP (RFC 9449)
  • OpenID Connect: Core 1.0, Discovery, Dynamic Client Registration, Session Management, RP-Initiated/Front-Channel/Back-Channel Logout, CIBA
  • JWT: JWS (RFC 7515), JWE (RFC 7516), JWT Access Tokens (RFC 9068)

For the complete standards list, see the Abblix.OIDC.Server package documentation.

Package Description
Abblix.Utils Utility library with crypto, URI, and JSON helpers
Abblix.DependencyInjection .NET DI extensions with aliasing, composites, and decorators
Abblix.JWT JWT signing, encryption, and validation using .NET crypto primitives
Abblix.OIDC.Server Core OpenID Connect server implementation
Abblix.OIDC.Server.MVC ASP.NET Core MVC integration (this package)
Abblix.OIDC.Server.MinimalAPI ASP.NET Core Minimal API integration
Abblix.SecurityEvents Security Event Tokens (RFC 8417) and Subject Identifiers (RFC 9493): building, validation, and the delivery data types
Abblix.SharedSignals OpenID Shared Signals Framework 1.0 transmitter and receiver

Getting Started

To learn more about the Abblix OIDC Server product, visit our Documentation site and explore the Getting Started Guide.

License

Abblix.OIDC.Server.MVC is licensed under the Abblix license agreement. See LICENSE.md.

Contacts

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.4.0 117 9/5/2026
2.3.0 192 6/9/2026
2.2.0 369 2/18/2026
2.1.0 511 12/8/2025
2.0.1 657 12/1/2025
2.0.0 240 11/26/2025
1.6.0 311 8/14/2025
1.5.0 254 6/25/2025
1.4.0 290 4/9/2025
1.3.1 264 12/3/2024
1.3.0.1 215 11/28/2024
1.3.0 226 11/13/2024
1.2.0.1 228 10/16/2024
1.2.0 220 10/11/2024
1.1.0 344 7/9/2024
1.0.100 250 5/3/2024
Loading failed

Every protocol endpoint as an MVC controller - authorization, token, introspection, revocation, discovery, keys, UserInfo, pushed authorization, device authorization, CIBA, dynamic client registration and management, end-session and check-session - with routes you can move, JARM and signed introspection responses, and a default cross-origin policy for the OIDC endpoints so a browser client works without extra configuration. Endpoints beyond the core set are opt-in. Referencing both transport adapters is refused at startup with a message naming the package to drop. Full details: https://github.com/Abblix/Oidc.Server/releases/tag/v2.4