VOOZH about

URL: https://www.nuget.org/packages/Authagonal.Server/

⇱ NuGet Gallery | Authagonal.Server 0.4.0




Authagonal.Server 0.4.0

dotnet add package Authagonal.Server --version 0.4.0
 
 
NuGet\Install-Package Authagonal.Server -Version 0.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="Authagonal.Server" Version="0.4.0" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Authagonal.Server" Version="0.4.0" />
 
Directory.Packages.props
<PackageReference Include="Authagonal.Server" />
 
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 Authagonal.Server --version 0.4.0
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Authagonal.Server, 0.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 Authagonal.Server@0.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=Authagonal.Server&version=0.4.0
 
Install as a Cake Addin
#tool nuget:?package=Authagonal.Server&version=0.4.0
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Authagonal.Server

Drop-in authentication server for ASP.NET Core. Add OAuth 2.0, OpenID Connect, SAML SSO, and a built-in login UI to your app with three lines of code.

Quick start

dotnet add package Authagonal.Server
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddAuthagonal(builder.Configuration);

var app = builder.Build();
app.UseAuthagonal();
app.MapAuthagonalEndpoints();
app.MapFallbackToFile("index.html");
app.Run();
{
 "Issuer": "https://auth.example.com",
 "Storage": {
 "ConnectionString": "UseDevelopmentStorage=true"
 }
}

That's it. You now have a fully functional auth server with:

  • OAuth 2.0 / OpenID Connect — Authorization code + PKCE, refresh tokens, client credentials
  • SAML 2.0 SSO — SP-initiated flows with automatic metadata parsing
  • External OIDC providers — Google, Microsoft, Okta, etc.
  • Built-in login UI — Customizable SPA with localization (8 languages)
  • Admin APIs — User management, SSO provider management, token administration
  • Password policy — Configurable strength requirements

Configuration

Clients and SSO providers can be seeded from configuration:

{
 "Clients": [
 {
 "Id": "my-app",
 "Name": "My Application",
 "GrantTypes": ["authorization_code", "refresh_token"],
 "RedirectUris": ["https://app.example.com/callback"],
 "Scopes": ["openid", "profile", "email", "offline_access"],
 "RequirePkce": true,
 "RequireSecret": false
 }
 ],
 "OidcProviders": [
 {
 "ConnectionId": "google",
 "ConnectionName": "Google",
 "MetadataLocation": "https://accounts.google.com/.well-known/openid-configuration",
 "ClientId": "your-client-id",
 "ClientSecret": "your-client-secret"
 }
 ]
}

Extensibility

Register custom implementations before AddAuthagonal — they take precedence via TryAdd:

// Custom lifecycle hooks (audit logging, webhooks, etc.)
builder.Services.AddSingleton<IAuthHook, MyAuthHook>();

// Custom email delivery (SMTP, SES, Mailgun, etc.)
builder.Services.AddSingleton<IEmailService, MyEmailService>();

// Custom user provisioning into downstream apps
builder.Services.AddSingleton<IProvisioningOrchestrator, MyProvisioner>();

builder.Services.AddAuthagonal(builder.Configuration);

Packages

Package Description
Authagonal.Server Full auth server — endpoints, middleware, services, login UI
Authagonal.Protocol Embeddable OIDC/OAuth 2.0 protocol surface (no UI, no user store)
Authagonal.Storage Azure Table Storage backend
Authagonal.Core Core models, interfaces, and abstractions

Links

Product Versions Compatible and additional computed target framework versions.
.NET net9.0 net9.0 is compatible.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 is compatible.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows 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
0.4.0 85 6/17/2026
0.3.19 54 6/17/2026
0.3.18 52 6/17/2026
0.3.17 42 6/17/2026
0.3.16 42 6/17/2026
0.3.15 227 6/16/2026
0.3.14 52 6/16/2026
0.3.13 112 6/15/2026
0.3.12 64 6/15/2026
0.3.11 81 6/15/2026
0.3.10 102 6/15/2026
0.3.9 54 6/15/2026
0.3.8 67 6/15/2026
0.3.7 71 6/14/2026
0.3.6 57 6/14/2026
0.3.5 69 6/14/2026
0.3.4 57 6/13/2026
0.3.3 91 5/30/2026
0.3.2 95 5/30/2026
0.3.1 89 5/30/2026
Loading failed