…tings, login providers, positions
The manifest applier silently dropped declared fields and whole feature
areas the admin surface already supports. This brings the manifest to
feature parity and fixes the export/prune bugs of the same family:
- Clients: apply + export ALL admin-API fields — AccessTokenType (the
original bug: 'Jwt' imports yielded reference tokens), PAR/DPoP
requirement flags, token/session lifetimes, static client claims +
prefix, CORS origins, consent type, secret/local-login toggles.
Manifest→DTO mapping is deduplicated into shared builders and guarded
by the parity drift test.
- Apps: optional per-App settings override (ADR-0011) incl. the Origin
subdomain that drives the global host→app routing map. Export emits
Settings only for apps that actually have an override.
- Login providers: new manifest section (slug-keyed upsert, immutable
Type/Flavor, Internal provider reserved + prune-protected, secret
stored at create / rotated on apply, never exported).
- Positions (MG-FT): new manifest section — policy + grants as user
keys with desired-set reconciliation and the canonical revocation
cascades; feature-flag gated; terminal SLOTS deliberately excluded
(device-bound credential material). Position endpoint validators are
extracted onto a shared PositionOpError so the applier reuses the
exact endpoint rules with unchanged wire contracts.
- Export bugs: BrowserSessions/ClientSessions/PositionSecurity realm
settings were missing from export; terminal-managed clients were
exported into un-applyable manifests. Prune would have deleted
terminal-managed clients — now protected like SA-linked ones.
Docs and the served manifest-schema example updated; new ColdStart
section tests cover import/apply/export/prune for each new area.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
What
Brings the declarative realm manifest to feature parity with the admin surface, and fixes the export/prune bugs of the same silently-dropped-field family.
Clients — full field coverage
Apps — per-App settings override (ADR-0011)
Login providers — new section
Positions (MG-FT) — new section
Export/prune bug fixes
Docs (docs/admin/realm-provisioning.md) and the served manifest-schema example updated.
Testing
🤖 Generated with Claude Code