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() { >