Skip to content

Release 1.0.0#76

Merged
kailash-b merged 1 commit into
masterfrom
release/1.0.0
Jun 29, 2026
Merged

Release 1.0.0#76
kailash-b merged 1 commit into
masterfrom
release/1.0.0

Conversation

@kailash-b

@kailash-b kailash-b commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

First general availability (GA) release of Auth0.AspNetCore.Authentication.Api — a production-ready library for securing ASP.NET Core APIs with Auth0-issued tokens. It provides everything the standard Microsoft.AspNetCore.Authentication.JwtBearer package offers, with first-class Auth0 configuration, built-in DPoP, and Multiple Custom Domains support, in a single dependency.

Highlights

  • Complete JWT Bearer functionality — a drop-in replacement for Microsoft.AspNetCore.Authentication.JwtBearer. All standard options, events, validation, and authorization policies continue to work unchanged.
  • Built-in DPoP (Demonstration of Proof-of-Possession) — sender-constrained tokens per RFC 9449, enabled with a single .WithDPoP() call. Three enforcement modes: Allowed (default), Required, and Disabled.
  • Multiple Custom Domains (MCD) — accept tokens from multiple Auth0 custom domains within a single SDK instance via .WithCustomDomains(), with static or dynamic (runtime) domain resolution, automatic OIDC/JWKS discovery, in-memory caching, and issuer validation before any network call.
  • First-class Auth0 configuration — set Domain and Audience directly, bind from an IConfigurationSection (appsettings.json, environment variables), or customize the underlying JWT Bearer pipeline via the configureJwtBearer callback.
  • Fail-fast startup validation — misconfigured Domain, missing audience, or unsupported EventsType usage are caught at startup with clear error messages.
  • Broad framework support — targets .NET 8.0 and above, with compile-time support for .NET 10.

Getting Started

dotnet add package Auth0.AspNetCore.Authentication.Api
// Binds Domain and Audience from the "Auth0" section of appsettings.json
builder.Services.AddAuth0ApiAuthentication(
    builder.Configuration.GetSection("Auth0"));

See the README, EXAMPLES.md, and MIGRATION.md for full documentation.

Changes since 1.0.0-beta.6

Security

  • chore(security): uses pinned versions of actions #70 (jcchavezs)

Notable changes during the beta cycle

If you are upgrading from an earlier 1.0.0-beta.* release, please review the breaking changes introduced in 1.0.0-beta.6 below — most notably:

  • Auth0ApiOptions.JwtBearerOptions was removed in favor of a first-class Audience property.
  • JWT Bearer customization moved to a separate configureJwtBearer callback, and direct IConfigurationSection binding was added.
  • WithDPoP(...) no longer accepts an authentication scheme argument.
  • Stricter startup validation now fails fast on invalid configuration.

@kailash-b
kailash-b requested a review from a team as a code owner June 29, 2026 10:19
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.50%. Comparing base (69cc4c0) to head (9ecbdce).

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #76   +/-   ##
=======================================
  Coverage   92.50%   92.50%           
=======================================
  Files          29       29           
  Lines        1427     1427           
  Branches      163      163           
=======================================
  Hits         1320     1320           
  Misses         76       76           
  Partials       31       31           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@kailash-b
kailash-b merged commit 5f2bb6e into master Jun 29, 2026
3 checks passed
@kailash-b
kailash-b deleted the release/1.0.0 branch June 29, 2026 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants