From 2075c3b13952fe3516a28c803dd791e29826440b Mon Sep 17 00:00:00 2001 From: "prompt.ac/@jeffrey" Date: Sat, 8 Aug 2026 13:25:50 -0700 Subject: [PATCH] Log out back to the host you were on MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit returnTo was pinned to the apex, so logging out of midi.oskiewar.com landed you on oskiewar.com and silently out of midi mode. Auth0 checks returnTo against its allowed logout URLs, so both hosts need listing there — which they now are. --- xbox/live/mac-test.html | 6 +++++- xbox/live/social/manifest.json | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/xbox/live/mac-test.html b/xbox/live/mac-test.html index 398779e2b5..2009e689ff 100644 --- a/xbox/live/mac-test.html +++ b/xbox/live/mac-test.html @@ -172,7 +172,11 @@ logout.addEventListener("click", () => { const target = new URL("https://hi.aesthetic.computer/v2/logout"); target.searchParams.set("client_id", "LVdZaMbyXctkGfZDnpzDATB5nR0ZhmMt"); - target.searchParams.set("returnTo", "https://oskiewar.com/"); + // Return to the host you logged out from, not always the apex — coming + // back to oskiewar.com from midi.oskiewar.com would silently drop you out + // of midi mode. Auth0 checks this against its allowed logout URLs, so + // both hosts have to be listed there. + target.searchParams.set("returnTo", location.origin + "/"); location.assign(target); }); diff --git a/xbox/live/social/manifest.json b/xbox/live/social/manifest.json index 8b674c38b4..08bf13cbf2 100644 --- a/xbox/live/social/manifest.json +++ b/xbox/live/social/manifest.json @@ -1,7 +1,7 @@ { "format": "ac.oskiewar.social-preview", "version": 2, - "build": "b85a2cde6aeb865e", + "build": "5b037feb91a367a4", "theme": "light", "imageWidth": 1200, "imageHeight": 630, -- 2.51.2