fix(auth): app-Slug 'cards' → 'wordeck' im Login-Redirect
Some checks are pending
CI / validate (push) Waiting to run
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:
parent
9c1ee67f69
commit
65091e3a12
2 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||
});
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue