From 7d6e78afa3beda243c0f699233649b19a5adab8e Mon Sep 17 00:00:00 2001 From: hsiegeln <37154749+hsiegeln@users.noreply.github.com> Date: Mon, 6 Apr 2026 17:47:12 +0200 Subject: [PATCH] fix: add /server/login?local to Traditional app post-logout redirect URIs The server-ui logout redirects to /server/login?local but this URI was not whitelisted in Logto, causing the post-logout redirect to fail. Co-Authored-By: Claude Opus 4.6 (1M context) --- docker/logto-bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/logto-bootstrap.sh b/docker/logto-bootstrap.sh index 3a35619..ee94394 100644 --- a/docker/logto-bootstrap.sh +++ b/docker/logto-bootstrap.sh @@ -46,7 +46,7 @@ PROTO="${PUBLIC_PROTOCOL:-https}" SPA_REDIRECT_URIS="[\"${PROTO}://${HOST}/platform/callback\"]" SPA_POST_LOGOUT_URIS="[\"${PROTO}://${HOST}/platform/login\"]" TRAD_REDIRECT_URIS="[\"${PROTO}://${HOST}/oidc/callback\",\"${PROTO}://${HOST}/server/oidc/callback\"]" -TRAD_POST_LOGOUT_URIS="[\"${PROTO}://${HOST}\",\"${PROTO}://${HOST}/server\"]" +TRAD_POST_LOGOUT_URIS="[\"${PROTO}://${HOST}\",\"${PROTO}://${HOST}/server\",\"${PROTO}://${HOST}/server/login?local\"]" log() { echo "[bootstrap] $1"; } pgpass() { PGPASSWORD="${PG_PASSWORD:-cameleer_dev}"; export PGPASSWORD; }