ФУНКЦИИ - МЕЖПРОЕКТНАЯ КОММУНИКАЦИЯ: Launcher handoff и invite auto-login

This commit is contained in:
DCCONSTRUCTIONS
2026-05-06 08:58:34 +03:00
parent 90249208b8
commit 22cc3ad0ce
3 changed files with 185 additions and 21 deletions
+1
View File
@@ -475,6 +475,7 @@ export function LauncherApp() {
setData(syncLauncherServiceLinks(result.data));
setInviteFlow({ status: "registered", payload, loginUrl: result.loginUrl });
window.location.replace(result.redirectUrl || "/");
} catch (error) {
setInviteFlow({
status: "error",
+2
View File
@@ -24,6 +24,8 @@ export interface RegisterInviteCommand {
export interface RegisterInviteResponse extends AcceptInviteResponse {
loginUrl: string;
redirectUrl: string;
authenticated: boolean;
}
export async function fetchPublicInvite(token: string): Promise<PublicInviteResponse> {