|
1 | 1 | # Change Log |
2 | 2 |
|
| 3 | +## [1.0.0](https://github.com/auth0/aspnetcore-api/tree/1.0.0) (2026-06-29) |
| 4 | + |
| 5 | +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. |
| 6 | + |
| 7 | +### Highlights |
| 8 | + |
| 9 | +- **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. |
| 10 | +- **Built-in DPoP (Demonstration of Proof-of-Possession)** — sender-constrained tokens per [RFC 9449](https://datatracker.ietf.org/doc/html/rfc9449), enabled with a single `.WithDPoP()` call. Three enforcement modes: `Allowed` (default), `Required`, and `Disabled`. |
| 11 | +- **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. |
| 12 | +- **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. |
| 13 | +- **Fail-fast startup validation** — misconfigured `Domain`, missing audience, or unsupported `EventsType` usage are caught at startup with clear error messages. |
| 14 | +- **Broad framework support** — targets .NET 8.0 and above, with compile-time support for .NET 10. |
| 15 | + |
| 16 | +### Getting Started |
| 17 | + |
| 18 | +```bash |
| 19 | +dotnet add package Auth0.AspNetCore.Authentication.Api |
| 20 | +``` |
| 21 | + |
| 22 | +```csharp |
| 23 | +// Binds Domain and Audience from the "Auth0" section of appsettings.json |
| 24 | +builder.Services.AddAuth0ApiAuthentication( |
| 25 | + builder.Configuration.GetSection("Auth0")); |
| 26 | +``` |
| 27 | + |
| 28 | +See the [README](./README.md), [EXAMPLES.md](./EXAMPLES.md), and [MIGRATION.md](./MIGRATION.md) for full documentation. |
| 29 | + |
| 30 | +### Changes since `1.0.0-beta.6` |
| 31 | + |
| 32 | +**Security** |
| 33 | +- chore(security): uses pinned versions of actions [\#70](https://github.com/auth0/aspnetcore-api/pull/70) ([jcchavezs](https://github.com/jcchavezs)) |
| 34 | + |
| 35 | +### Notable changes during the beta cycle |
| 36 | + |
| 37 | +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: |
| 38 | + |
| 39 | +- `Auth0ApiOptions.JwtBearerOptions` was removed in favor of a first-class `Audience` property. |
| 40 | +- JWT Bearer customization moved to a separate `configureJwtBearer` callback, and direct `IConfigurationSection` binding was added. |
| 41 | +- `WithDPoP(...)` no longer accepts an authentication scheme argument. |
| 42 | +- Stricter startup validation now fails fast on invalid configuration. |
| 43 | + |
3 | 44 | ## [1.0.0-beta.6](https://github.com/auth0/aspnetcore-api/tree/1.0.0-beta.6) (2026-05-21) |
4 | 45 |
|
5 | 46 | > **⚠️ This release contains breaking changes.** Please read the notes below before upgrading. |
|
0 commit comments