frontend-app-api: add prepareSpecializedApp two-phase app wiring

This adds a new prepare/finalize app wiring flow that renders sign-in first and finalizes the full app after identity capture, while keeping createSpecializedApp as a deprecated wrapper. It also updates frontend-defaults/createApp to use the same flow and includes test and API report updates.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
This commit is contained in:
Patrik Oldsberg
2026-03-05 15:40:42 +01:00
parent e9eb585978
commit 925e0895b3
8 changed files with 1429 additions and 751 deletions
@@ -0,0 +1,6 @@
"@backstage/frontend-app-api": patch
"@backstage/frontend-defaults": patch
---
Adds `prepareSpecializedApp` as a new two-phase app wiring API for rendering a sign-in page before full app finalization. The existing `createSpecializedApp` API is now deprecated and backed by `prepareSpecializedApp().finalize()`, while `createApp` has been updated to use the same prepare/finalize flow.