Path: redb-identity/CHANGELOG.md Snapshot: redb-identity, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb-identity Page: https://redbase.app/src/dev-2026-12-06/redb-identity/CHANGELOG.md ---- # Changelog All notable changes to redb.Identity will be documented in this file. This changelog covers the **planned NuGet/`.tpkg` packages** that ship from this repository: | Package | Description | |---------|-------------| | `redb.Identity.Core` | OIDC / OAuth 2.1 engine: OpenIddict pipeline on redb.Route, redb-backed stores (Application, Authorization, Token, Scope, KeyRing, Session, Audit), `direct-vm://identity-*` API surface | | `redb.Identity.Core.Module` | `.tpkg` host glue for `redb.Identity.Core` — `IRouteModule` entry point, configuration binding, named-redb wiring (`identity`) | | `redb.Identity.Contracts` | Transport-agnostic request/response DTOs and route-name constants shared by Core, Http, and Client | | `redb.Identity.Management` | Transport-neutral management and self-service controllers — thin adapters over the `direct-vm://identity-manage-*` routes, shared by every facade | | `redb.Identity.Http` | HTTP / HTTPS facade `.tpkg` — OIDC discovery, `authorize`, `token`, `userinfo`, `introspect`, `revoke`, JWKS, PAR, DCR, SCIM, `/me`, management, browser flows | | `redb.Identity.Grpc` | gRPC facade `.tpkg` — service-to-service surface (`Token`, `Introspect`, `Revoke`, `UserInfo`, `Discovery`, `Jwks`) + management services; contract shipped in `redb.Identity.Contracts` under `Protos/` | | `redb.Identity.Soap` | WS-Trust facade `.tpkg` — `Issue`, `Validate`, `Cancel`, `Renew` over SOAP on the same core routes; WSDL published on GET | | `redb.Identity.Web` | Server-rendered host pages: login, native consent, MFA enrollment, e-mail verification, password recovery, account self-service | | `redb.Identity.Client` | In-process and HTTP client SDK for `direct-vm://identity-*` endpoints + backchannel OIDC client (`BackchannelOidcClient`) | | `redb.Identity.DataProtection` | Standalone `Microsoft.AspNetCore.DataProtection` wiring on redb-backed key-ring storage (no ASP.NET) | | `redb.Identity.Ldap` | LDAP / Active Directory federation provider — directory sync handler + bind-on-login adapter | | `redb.Identity.Resource.Dpop` | Resource-server middleware: DPoP (RFC 9449) proof validation + replay cache for downstream APIs | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). > **Note on version history:** **`1.0.1`** is the first public source release > (repo: [redbase-app/redb-identity](https://github.com/redbase-app/redb-identity)). > The pre-1.0 history is preserved as `1.0.0-preview.*` in [changelog/CHANGELOG-1.x.md](changelog/CHANGELOG-1.x.md) — the engine ran > in internal Tsak deployments through the whole `direct-vm://`-first design > phase; those entries collapse that history. Versioning is unified across all > packages in the table above — every release bumps every package together. > > **From `3.4.0` onward redb.Identity shares the ecosystem version** (`redb` core / `redb.Route` / > `redb.Tsak`) instead of its own `1.x` line — see the `[3.4.0]` entry in [changelog/CHANGELOG-3.x.md](changelog/CHANGELOG-3.x.md). The `1.0.1`–`1.2.2` tags stay > as valid history; the jump to `3.4.0` is a realignment onto the shared number, not a breaking change. > NuGet publication follows the source cut. ## [Unreleased] Pending changes live in `changelog/unreleased/` until the release; `pwsh scripts/changelog.ps1 -Preview` shows them. ## [4.8.0] — 2026-12-01 ### Breaking - **Admin TOTP confirm works again: `IdentityClient.ConfirmUserTotpAsync` takes the setup token.** Confirming through the management API was refused with `Missing setup_token`; the request now carries `setupToken` from the setup answer, and the client method has a new `setupToken` parameter. Packages: `redb.Identity.Client`, `redb.Identity.Management`. Upgrade: [UPGRADING.md](UPGRADING.md#admin-totp-confirm-sends-the-setup-token). - **The client needs `Authority`.** `IdentityClientOptions` and `BackchannelIdentityClientOptions` take the token and every other protocol address from the discovery document of the issuer instead of `BaseUrl`, so their `Authority` is required; without it the host fails at start with a message naming the option. Packages: `redb.Identity.Client`. Upgrade: [UPGRADING.md](UPGRADING.md#the-client-needs-the-authority). - **Group names are unique across the group tree, compared without case and surrounding whitespace.** Creating or renaming a group to a name another group has answers `409`. Groups that already share a name keep working and are reported at every start until renamed; the upgrade notes list the query that finds them. Packages: `redb.Identity.Core`, `redb.Identity.Ldap`. Upgrade: [UPGRADING.md](UPGRADING.md#group-names-are-unique). - **External audit targets are delivered through the delivery outbox, with retries per target.** A target that is down no longer loses events or holds up the others; delivery is at least once and unordered. Every enabled target now needs a unique `Name`, or the start stops; `TimeoutMs`, `MaxAttempts` and `RetryBackoffMs` set its retries. Packages: `redb.Identity.Core`. Upgrade: [UPGRADING.md](UPGRADING.md#audit-targets-go-through-the-outbox). - **Identity in an own host starts with one call, `RedbIdentityHost.StartAsync`, after `services.AddRedbIdentityHost()`.** It reads the `Identity` and `IdentityTransport` sections and fails at start, naming the key, when the issuer, a key source or the transport section is missing. The older entry point `redb.Identity.Core.InitRoute` is removed, and options registered in the host's own container are no longer read; the upgrade notes show the replacement. Packages: `redb.Identity.Core`, `redb.Identity.Core.Module`, `redb.Identity.Http`, `redb.Identity.Grpc`, `redb.Identity.Soap`. Upgrade: [UPGRADING.md](UPGRADING.md#own-host-one-start-call). - **E-mail MFA can be enrolled: setup sends the code, and `IdentityClient.ConfirmUserEmailAsync` takes `mfaState` and `setupToken`.** The code goes out through the SMTP channel or the host's e-mail channel, also for sign-in. Setup answers `501 no_channel`, `429 rate_limited` or `502 delivery_failed` when it cannot send. Packages: `redb.Identity.Core`, `redb.Identity.Client`, `redb.Identity.Management`. Upgrade: [UPGRADING.md](UPGRADING.md#e-mail-mfa-enrollment-sends-the-code). - **Back-channel logout goes only to public `https` addresses by default.** `Identity:BackchannelLogout:RequireHttps` now defaults to `true` and `:AllowPrivateNetworkTargets` to `false`, so the check runs without being turned on, also for clients registered earlier. A relying party on an internal network or on plain HTTP no longer receives the notification until those options are set; the logout itself completes either way. Packages: `redb.Identity.Core`. Upgrade: [UPGRADING.md](UPGRADING.md#back-channel-logout-addresses-must-be-public-https). - **A JAR `request_uri` must be registered for its client.** Clients get the `request_uris` metadata (management API, console, dynamic registration). With JAR on, a `request_uri` is fetched only when it equals one of the client's registered values; any other is answered `invalid_request_uri`. Inline request objects and PAR are not affected. `Jar.RequireRequestUriRegistration=false` keeps unregistered clients working, with a warning per request. Packages: `redb.Identity.Core`, `redb.Identity.Contracts`. Upgrade: [UPGRADING.md](UPGRADING.md#request_uri-needs-registered-addresses). - **The redb.Identity packages target .NET 10 and .NET 11; .NET 8 and .NET 9 are no longer targets.** Both reached end of support on 10 November 2026. An application on .NET 8 or 9 stays on 4.7.x or moves to .NET 10. The images, the archives and the Tsak modules run on .NET 10 as before. Upgrade: [UPGRADING.md](UPGRADING.md#net-10-and-net-11-only). ### Added - **Every management answer of redb.Identity has a declared type in `redb.Identity.Contracts`.** Refusals, outcomes, groups, admin MFA, sessions, tokens, cleanups, webhook deliveries and impersonation can be read as types by a .NET client; the JSON on the wire is unchanged, except that `IntrospectionResponse` leaves absent members out. Packages: `redb.Identity.Contracts`. - **The delivery outbox cleans itself, can be inspected and redelivered, and reports its backlog.** Finished rows go after 7 days (delivered) or 30 days (failed, cancelled), pending rows never; `GET /webhooks/deliveries` and `POST /webhooks/deliveries/{id}/redeliver` manage them, a redelivery is audited as `WebhookDeliveryRedelivered`; the module turns Degraded when a delivery waits over 5 minutes. Packages: `redb.Identity.Core`, `redb.Identity.Management`. - **Device authorization and pushed authorization requests (PAR) accept client authentication by HTTP Basic, as the token endpoint does.** A confidential client may send its credentials in the `Authorization` header there instead of the form body, and the discovery document lists `client_secret_basic` for both endpoints. Packages: `redb.Identity.Core`. - **Audit events of management calls record the acting client and subject.** `identity_audit_log` gains an `actor_subject` column, added automatically, and the audit API and targets carry it; `client_id` and `ip_address` are filled for these events too. Packages: `redb.Identity.Core`, `redb.Identity.Contracts`. - **`private_key_jwt` clients can publish their keys at `jwks_uri`.** Without an inline `jwks`, the keys at the client's `jwks_uri` verify its client assertions, fetched through the outbound URL guard and cached (`Identity:ClientKeys:CacheLifetime`, `Identity:ClientKeys:MinimumRefreshInterval`); a rotated key is picked up by one bounded refresh. Dynamic registration also accepts `request_object_signing_alg`, and the registration read (RFC 7592) returns it. Packages: `redb.Identity.Core`, `redb.Identity.Contracts`. - **`IdentityTransport:Http:Host` sets the bind address of the HTTP facade**, as `Host` already does for the gRPC and SOAP facades. The default stays `0.0.0.0`; `127.0.0.1` keeps the listeners on the loopback behind a local proxy. Packages: `redb.Identity.Http`. - **The recovery-code pepper can be rotated.** `Identity:RecoveryCodePreviousPeppers` keeps earlier values of `Identity:RecoveryCodePepper` for verification, so unused MFA recovery codes and open password-reset, e-mail verification and change-e-mail links survive a new pepper. The leader logs daily how many users still hold codes under each previous value. The steps are in the README, "Rotating the recovery-code pepper". ### Changed - **The client asks for `identity:manage` by default.** `IdentityClientOptions.Scopes` defaulted to `identity.admin`, a scope the server does not know, so a token request that kept the default failed with `invalid_scope`. It now asks for `identity:manage`, as `BackchannelIdentityClientOptions` does; set a narrower scope if the client needs less. Packages: `redb.Identity.Client`. Upgrade: [UPGRADING.md](UPGRADING.md#the-client-asks-for-identitymanage-by-default). - **The self-service MFA and WebAuthn answers are declared types in `redb.Identity.Contracts`** (`MfaStatusResponse`, `MfaSetupResponse`, `WebAuthnStatusResponse`, `WebAuthnCredentialList` and the others). The JSON on the wire is unchanged. Packages: `redb.Identity.Contracts`, `redb.Identity.Core`. - **A management request refused for a state conflict answers `409`, not `400`.** This changes the status of: creating a federation provider, a role or a claim definition that already exists, and deleting a system role. The federation provider answer also says `"error": "duplicate"` now, not `"conflict"`. Deleting a role that does not exist answers `404`. A client that branches on `400` for these cases checks for `409` (or `404`) instead. Packages: `redb.Identity.Core`, `redb.Identity.Management`. - **A management request for a record that is not there answers `404`, as RFC 9110 and RFC 7644 describe.** This now holds for `DELETE` of a user, an application, a scope, a claim definition, a claim mapper, a claim scope and a group, and for reading the members of a group or checking a membership. These answered `200` before (the user delete with `"alreadyAbsent": true`). A client that treats a repeated `DELETE` as success accepts `404` there too. Packages: `redb.Identity.Core`. - **Webhook deliveries go through an outbox table and survive a restart.** Events are written to `identity_delivery_outbox` (created at start) and sent by a delivery worker with retries, a per-subscriber limit and at-least-once semantics; a delivery to a subscription deleted or disabled in between is not sent. Receivers deduplicate by `X-RedbIdentity-Delivery` and must not rely on arrival order; the README section "Webhook delivery" has the details and the `Identity:Delivery` settings. Packages: `redb.Identity.Core`. - **The Identity packages bring the redb.Route and redb.Tsak assemblies they need at run time.** A host that embeds Identity from NuGet no longer has to reference `redb.Route.Redis`, `redb.Route.Mail`, `redb.Tsak.Contracts` or `redb.Tsak.Core` itself to start. Its dependency closure grows accordingly (`redb.Identity.Core.Module` brings `redb.Tsak.Core`). A deployment in a Tsak worker needs no change: the modules still carry no copy of these. Packages: `redb.Identity.Core`, `redb.Identity.Core.Module`, `redb.Identity.Ldap`, `redb.Identity.Resource.Dpop`. - **An `invalid_client` answer to a request that used HTTP Basic carries `WWW-Authenticate: Basic`.** This includes a wrong client secret sent through Basic. Requests that authenticate in the form body are answered as before. Packages: `redb.Identity.Core`. - **Base64 from a client is read only in its canonical spelling, the same on .NET 10 and .NET 11.** This applies to HTTP Basic credentials, the session, consent, MFA, federation and logout values the server issued, and a WS-Trust `BinarySecurityToken` declared `Base64Binary`. A value whose last character has non-zero unused bits, which no standard encoder writes, is refused. A declared `Base64Binary` token that is not base64 now gets `wst:InvalidRequest` instead of being passed on as text. Packages: `redb.Identity.Core`, `redb.Identity.Http`, `redb.Identity.Soap`. - **The cache of fetched client key sets is bounded.** It holds at most `Identity:ClientKeys:MaxCachedKeySets` `jwks_uri` addresses (256 by default; before, there was no bound); an address dropped from it is fetched again when it is needed. Packages: `redb.Identity.Core`. - **Dynamic registration stores `jwks_uri`, and `jwks` for every auth method.** Both are answered from storage; a request with both is refused with `invalid_client_metadata`, as RFC 7591 requires. A client that registered a `jwks_uri` before 4.8.0 sends it again in a registration update (`PUT /connect/register/{client_id}`). Packages: `redb.Identity.Core`. - **Built on redb 4.8.0, redb.Route 4.8.0 and redb.Tsak 4.8.0.** The images and archives take those releases; the Identity store takes the redb 4.8.0 database upgrade at its first start, and all nodes of one database move to 4.8.0 together, as the redb 4.8.0 upgrade notes describe. Packages: `redb.Identity.Core`. - **`dotnet new redb-identity-app --framework` offers `net10.0` (the default) and `net11.0`; `net8.0` and `net9.0` are gone.** The choice sets the web server only: the module and its contracts load into the Tsak worker and stay on `net10.0`. Packages: `redb.Templates`. - **Microsoft dependencies move to the 10.0.15 servicing line.** Microsoft.Extensions.*, Microsoft.Data.Sqlite, System.Security.Cryptography.Xml / Pkcs and the ASP.NET Core packages are referenced at 10.0.15 (was 10.0.13). On .NET 11 the ASP.NET Core packages (DataProtection, JwtBearer, OpenIdConnect) and System.Security.Cryptography.Xml / Pkcs are taken from the 11.0 line. An application that pins one of them lower raises its pin. - **A federation provider's client secret follows one rule on create and update.** An empty string or no value means no secret; on update an empty string clears the stored one, and no value leaves it alone. A secret of white space only is refused with `400 validation_error` instead of being stored. ### Fixed - **The console keeps backchannel logout with a separate management port.** With `ManagementPort` set and `Identity:ApiBaseUrl` on that port, the console asked the management port for its service token and got `404`, so a backchannel logout never reached it. It now takes the token endpoint from the discovery document of `Identity:Authority`. - **The console's Settings page shows discovery and JWKS with a separate management port.** With `ManagementPort` set and `Identity:ApiBaseUrl` on that port, both panels answered `404`; they now read the issuer named by `Identity:Authority`. ## Earlier versions Earlier releases are archived by line in [changelog/](changelog/): [4.7.x](changelog/CHANGELOG-4.7.x.md), [4.6.x](changelog/CHANGELOG-4.6.x.md), [4.5.x](changelog/CHANGELOG-4.5.x.md), [4.4.x](changelog/CHANGELOG-4.4.x.md), [4.3.x](changelog/CHANGELOG-4.3.x.md), [4.2.x](changelog/CHANGELOG-4.2.x.md), [4.1.x](changelog/CHANGELOG-4.1.x.md), [4.0.x](changelog/CHANGELOG-4.0.x.md), [3.x](changelog/CHANGELOG-3.x.md), [1.x](changelog/CHANGELOG-1.x.md).