feat: import upstream ZITADEL Login V2 v4.20.4 source workspace
This commit is contained in:
1 parent
eadd0e558b
commit
4404849fc4
644 files changed
+153201
-10
No files matched your search
+8
-2
@@ -3,7 +3,8 @@
|
||||
## Current status
|
||||
- P01 Foundation: committed.
|
||||
- P02 Local backend: configuration and helper implemented; **runtime verification blocked** because Docker is not installed on the connected Windows PC.
|
||||
- No customized Login V2 or Account Portal source has been imported yet.
|
||||
- P03 Login V2: official v4.20.4 Next.js source and upstream pnpm/Nx/client/proto dependencies **imported** under `auth/ui/v2/`; builds/dependency installation and runtime verification **intentionally deferred to Gitea Actions**.
|
||||
- P04 Account Portal: not started.
|
||||
|
||||
## Getting local ZITADEL running
|
||||
1. Install and launch Docker Desktop with Linux containers. Verify `docker compose version`.
|
||||
@@ -18,7 +19,7 @@ The proxy is **loopback-only and HTTP-only**. It is for disposable local develop
|
||||
|
||||
## Where to change code (future phases)
|
||||
- Official Go server: **no core source edits**, see `core/backend/zitadel/`.
|
||||
- Auth UI changes: `auth/ui/v2/` after P03 import.
|
||||
- Auth UI changes: `auth/ui/v2/apps/login/src/` (upstream workspace kept intact). See `auth/ui/v2/README.md` for beginner-friendly locations.
|
||||
- Account UI changes: `users/ui/` after P04.
|
||||
- Shared UI/components: `packages/` only if required by imported code.
|
||||
- Local Docker infrastructure: `deployment/docker/`.
|
||||
@@ -33,5 +34,10 @@ git diff --check
|
||||
```
|
||||
A green stdlib-only test means only that local config and secret-generation contracts passed; it does **not** mean Docker images booted or authentication worked.
|
||||
|
||||
## P03 Login V2 — Source-only import
|
||||
The source lives at `auth/ui/v2/apps/login/` together with upstream `packages/zitadel-client`, `packages/zitadel-proto`, `proto` and the lockfile in `auth/ui/v2/`. **None of the following commands were run in P03.** A separately approved Gitea CI phase should run frozen install (reconcile the slim workspace lock if needed), proto generation, client and login builds, followed by isolated authentication checks. Do not replace the P02 prebuilt Login container without integration approval.
|
||||
|
||||
Read `docs/P03-SOURCE-IMPORT.md` for upstream revision, exact source scope and pending acceptance gates.
|
||||
|
||||
## AI Studio and coding agents
|
||||
Allow AI to modify layout/components/styles only in approved UI scopes. Never replace ZITADEL session, OAuth, MFA or passkey logic with mocks. Do not use real credentials in screenshots/prompts. Run approved UI regression tests before integration.
|
||||
Reference in new issue
Block a user