From 2cda065c06378f8be94290febe75699c5f04a655 Mon Sep 17 00:00:00 2001 From: hsiegeln <37154749+hsiegeln@users.noreply.github.com> Date: Fri, 10 Apr 2026 13:41:18 +0200 Subject: [PATCH] fix: register /platform/ as post-logout redirect URI, improve sidebar contrast - Add /platform/ to SPA postLogoutRedirectUris in bootstrap (fixes #54) - Use amber color + bold for active vendor sidebar items Co-Authored-By: Claude Opus 4.6 (1M context) --- docker/logto-bootstrap.sh | 2 +- ui/src/components/Layout.tsx | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docker/logto-bootstrap.sh b/docker/logto-bootstrap.sh index 8e19f9e..3678dbd 100644 --- a/docker/logto-bootstrap.sh +++ b/docker/logto-bootstrap.sh @@ -47,7 +47,7 @@ VENDOR_NAME="${VENDOR_NAME:-SaaS Vendor}" HOST="${PUBLIC_HOST:-localhost}" PROTO="${PUBLIC_PROTOCOL:-https}" SPA_REDIRECT_URIS="[\"${PROTO}://${HOST}/platform/callback\"]" -SPA_POST_LOGOUT_URIS="[\"${PROTO}://${HOST}/platform/login\"]" +SPA_POST_LOGOUT_URIS="[\"${PROTO}://${HOST}/platform/login\",\"${PROTO}://${HOST}/platform/\"]" TRAD_REDIRECT_URIS="[\"${PROTO}://${HOST}/oidc/callback\",\"${PROTO}://${HOST}/server/oidc/callback\"]" TRAD_POST_LOGOUT_URIS="[\"${PROTO}://${HOST}\",\"${PROTO}://${HOST}/server\",\"${PROTO}://${HOST}/server/login?local\"]" diff --git a/ui/src/components/Layout.tsx b/ui/src/components/Layout.tsx index 0787ded..f30f593 100644 --- a/ui/src/components/Layout.tsx +++ b/ui/src/components/Layout.tsx @@ -69,14 +69,16 @@ export function Layout() { >
navigate('/vendor/tenants')} > Tenants
navigate('/vendor/audit')} > Audit Log