@ -31,7 +31,18 @@ Baseline `dev@dd0d5d7d` (8.0.0-preview.5, fork of upstream). **Plan only — do
| P8 CIBA | ✅ server (poll) | `bbd52cbf` | Requires `SetIssuer`, token storage and non-degraded mode (ID0529). Completion goes through `OpenIddictServerService`. `slow_down`/`interval` also apply to the device flow. Signed CIBA requests and mTLS alias are not implemented. |
| P10 key management | ✅ | `4d19d539` | RSA-2048 sig (RS256) + enc (RSA-OAEP) keys. Key entity in EF Core/EF6/MongoDB. `OpenIddictServerKeyRing` resolves credentials per transaction (`Transaction.Credentials`). Protector: `IOpenIddictServerKeyProtector` (in `OpenIddict.Server`, default via `UseDataProtection()`). Quartz pruning is opt-in (`EnableKeyPruning`). |
| P5, P12, P11.x | ⏳ | — | — |
| P5 DPoP | ✅ server + validation + client | `0dae3a9d`, `0a732595`, `dbc144f5` | Opt-in (`EnableDPoPSupport`, `EnableDPoPTokenBinding`). Shared helper `shared/OpenIddict.Extensions/IdentityModel/OpenIddictDPoPHelpers.cs`. Server replay: redeemed token entry (reference id = `jkt.jti`). Nonces: signed JWT (server keys), server only. Validation replay: optional `IDistributedCache`. See deviations below. |
| P12, P11.x | ⏳ | — | — |
**P5 deviations**
| Item | Behaviour |
|---|---|
| Replay (server) | Entry created as `redeemed` (no separate `TryRedeemAsync`); concurrent duplicates rely on the store's unique `ReferenceId` (EF6 has none) |
| Replay (validation) | `IDistributedCache` get-then-set, not atomic |
| Nonces | Returned only with `use_dpop_nonce` errors; not issued by the validation stack |
| Confidential clients | Refresh tokens not bound; no Bearer-downgrade check on refresh |
| Client | One `use_dpop_nonce` retry; nonces cached per authority in memory; `dpop_jkt` not sent automatically (use `GetDPoPJsonWebKeyThumbprint`); ephemeral key lost on restart |
## 3. OpenIddict strengths with no Duende equivalent
@ -61,20 +61,20 @@ Legend: ✅ available · 🟢 implemented in this fork (not upstream) · ⚠️
| P6 JAR | `d5c9bff7` | Server: `EnableRequestObjectSupport()`, `RequireSignedRequestObjects()`, per-client `ft:jar`, discovery metadata. Client: `UseSignedRequestObjects`. | Parameters outside the object are ignored (RFC 9101). Objects are validated with the client JWKS. |
| P8 CIBA (server) | `bbd52cbf` | Backchannel endpoint and pass-through, `urn:openid:params:grant-type:ciba`, `OpenIddictServerService` (list / approve / reject), discovery metadata. | Requires `SetIssuer`, token storage and non-degraded mode. **Device flow now returns `interval` and enforces `slow_down`**; disable with `SetPollingInterval(null)`. |
| P8b CIBA (client) | `b67cf1f3` | `AllowClientInitiatedBackchannelAuthenticationFlow()`, `OpenIddictClientService.ChallengeUsingBackchannelAsync` / `AuthenticateWithBackchannelAsync`, discovery extraction. | Poll mode only. PAR requirement now enforced only for interactive flows. |
| P5 DPoP | `0dae3a9d``0a732595``dbc144f5` | Server: `EnableDPoPSupport()`, `RequireDPoP()`, `RequireDPoPNonces()`, per-client `ft:dpop`, `dpop_jkt`, discovery `dpop_signing_alg_values_supported`. Validation: `DPoP` scheme, optional `IDistributedCache` replay cache. Client: `EnableDPoPTokenBinding()`, `DPoPSigningCredentials`, `CreateDPoPProofAsync`. | Opt-in. `cnf.jkt` on access tokens and public-client refresh tokens; `token_type=DPoP`. Server replay check writes one token entry per proof (token storage only). |
| P10 automatic key management | `4d19d539` | New **Key** entity (EF Core `OpenIddictKeys` table, EF6, MongoDB `openiddict.keys`), `IOpenIddictKeyManager`. Server: `EnableAutomaticKeyManagement()`, `OpenIddictServerKeyRing`, `IOpenIddictServerKeyProtector` (in `OpenIddict.Server`; Data Protection implementation via `UseDataProtection()`). Local validation follows rotation. Quartz: `EnableKeyPruning()`. | Schema change for every EF user. Static keys still used, after the active auto key. `UseDataProtection()` also switches token formats unless `PreferDefaultTokenFormat()`. |
Latest runs, all green (client suite from `b67cf1f3`, others from `4d19d539`): server unit 696 · ASP.NET Core integration 1,530 · OWIN integration 1,500 · core 661 · client 162 · MongoDB 36 · Quartz 34 · validation ASP.NET Core integration 20 · EF Core 10 · EF6 7 · Data Protection 1.
Latest runs, all green (DPoP suites from `dbc144f5`, MongoDB/Quartz/EF/core from `4d19d539`): server unit 704 · ASP.NET Core integration 1,569 · OWIN integration 1,539 · core 661 · client 175 · abstractions 1,451 · MongoDB 36 · Quartz 34 · validation 103 · validation ASP.NET Core / OWIN integration 30 / 30 · EF Core 10 · EF6 7 · Data Protection 1.
## 5. Remaining work (ordered)
| # | Phase | Size | Dependency / risk |
|---|---|---|---|
| 1 | P5 DPoP | L | One DB write per protected request for replay protection; proxy `htu` normalization |