fix(auth): app-Slug 'cards' → 'wordeck' im Login-Redirect
Some checks are pending
CI / validate (push) Waiting to run

wordeck-web schickte bisher `?app=cards` ans zentrale Auth-Portal —
nach Login wurde wordeck.com nicht zurückgereicht, weil cards'
Allowlist nur cardecky.mana.how kennt. Mit dem neuen Wordeck-App-
Eintrag in mana@e9e78c0 funktioniert der Redirect.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-05-20 13:14:14 +02:00
parent 9c1ee67f69
commit 65091e3a12
2 changed files with 2 additions and 2 deletions

View file

@ -24,7 +24,7 @@
}
// Redirect zum zentralen Auth-Portal (mana-auth-web).
const loginUrl = new URL(`${authWebUrl()}/login`);
loginUrl.searchParams.set('app', 'cards');
loginUrl.searchParams.set('app', 'wordeck');
loginUrl.searchParams.set('redirect', callbackUrl());
window.location.href = loginUrl.toString();
});

View file

@ -23,7 +23,7 @@
} else {
// Session abgelaufen oder Cookie fehlt — zurück zum Auth-Portal.
const loginUrl = new URL(`${authWebUrl()}/login`);
loginUrl.searchParams.set('app', 'cards');
loginUrl.searchParams.set('app', 'wordeck');
loginUrl.searchParams.set('redirect', window.location.href);
window.location.href = loginUrl.toString();
}