Nedo.AspNet.Authentication.Diagnostics 2.0.9

dotnet add package Nedo.AspNet.Authentication.Diagnostics --version 2.0.9
                    
NuGet\Install-Package Nedo.AspNet.Authentication.Diagnostics -Version 2.0.9
                    
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="Nedo.AspNet.Authentication.Diagnostics" Version="2.0.9" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Nedo.AspNet.Authentication.Diagnostics" Version="2.0.9" />
                    
Directory.Packages.props
<PackageReference Include="Nedo.AspNet.Authentication.Diagnostics" />
                    
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 Nedo.AspNet.Authentication.Diagnostics --version 2.0.9
                    
#r "nuget: Nedo.AspNet.Authentication.Diagnostics, 2.0.9"
                    
#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 Nedo.AspNet.Authentication.Diagnostics@2.0.9
                    
#: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=Nedo.AspNet.Authentication.Diagnostics&version=2.0.9
                    
Install as a Cake Addin
#tool nuget:?package=Nedo.AspNet.Authentication.Diagnostics&version=2.0.9
                    
Install as a Cake Tool

Nedo.AspNet.Authentication.Diagnostics

Health checks + circuit breaker + IdP-aware diagnostics for the Nedo auth platform. Plug in to surface "is the upstream identity provider healthy?" alongside your own service health.

Install

dotnet add package Nedo.AspNet.Authentication.Diagnostics

Quickstart

using Nedo.AspNet.Authentication.Diagnostics;

builder.Services
    .AddHealthChecks()
    .AddNedoAuthHealthCheck();   // probes the configured IdP's discovery endpoint

var app = builder.Build();
app.MapHealthChecks("/health");

What's in here

  • AddNedoAuthHealthCheck() — registers an IHealthCheck that hits the IdP's well-known endpoint (/.well-known/openid-configuration). Returns Healthy / Degraded / Unhealthy and feeds standard ASP.NET Core health-check infrastructure.
  • Circuit breaker — wraps the IdP discovery + JWKS fetches so transient outages don't cascade into request-thread waits. Opens after configurable failure thresholds; half-opens periodically to test recovery.
  • Structured diagnosticsILogger categories prefixed Nedo.AspNet.Authentication.* so you can filter to just auth events.

Use cases

  • K8s readiness/liveness probes/health returns 503 when the IdP is unreachable so the pod is taken out of rotation.
  • Splunk / Grafana dashboards — circuit-breaker state + per-IdP latency is exposed as metrics on the standard IHealthCheck surface.
  • Pre-deploy smoke tests — hit /health to verify the IdP is correctly configured before the service goes live.

Docs

docs/08-diagnostics.md — full guide including circuit-breaker tuning, custom health-check categories, OpenTelemetry integration.

Note for Local sign-in only

If your app uses only Nedo.AspNet.Authentication.Local (no upstream IdP), the IdP health check will report Unhealthy because there's no Authority configured to probe. Either skip AddNedoAuthHealthCheck() or supply an issuer URL to probe (e.g. your own JWKS endpoint when one ships).

License

MIT — see LICENSE.

Product Compatible and additional computed target framework versions.
.NET 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 was computed.  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.0.9 82 5/11/2026
2.0.8 81 5/6/2026
2.0.7 78 5/5/2026
2.0.6 74 5/5/2026
2.0.4 76 5/4/2026
2.0.3 74 5/4/2026
2.0.2 88 5/2/2026
2.0.1 89 5/2/2026
2.0.0 81 5/1/2026