From c33b0e8bfdd73b9260cf27a6f828070a7abd9fe2 Mon Sep 17 00:00:00 2001 From: XShine555 Date: Thu, 24 Sep 2026 15:06:25 +0200 Subject: [PATCH] Stop disabling Zitadel Login V2 from zitadel-init The shared Infrastructure stack now runs the Login V2 container, and turning the feature off here would switch every project on the shared instance back to the old login. --- deploy/compose.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/deploy/compose.yml b/deploy/compose.yml index c3b5318..fe08b30 100644 --- a/deploy/compose.yml +++ b/deploy/compose.yml @@ -188,12 +188,6 @@ services: } name_query() { printf '{"queries":[{"nameQuery":{"name":"%s","method":"TEXT_QUERY_METHOD_EQUALS"}}]}' "$$1"; } - # `latest` images require the standalone Login UI v2 container, which - # this stack does not run; opting out keeps the built-in /ui/login. - curl -fsS -X PUT "$$PUBLIC_AUTH_URL/v2/features/instance" \ - -H "Authorization: Bearer $$PAT" -H "Content-Type: application/json" \ - -d '{"loginV2":{"required":false}}' >/dev/null 2>&1 || echo "warning: could not disable Login UI v2" - echo "==> project" PROJECT_NAME=Musify PROJECT_ID=$$(api_call POST /projects/_search "$$(name_query "$$PROJECT_NAME")" | jq -r --arg n "$$PROJECT_NAME" '.result // [] | map(select(.name==$$n)) | first | .id // empty')