From b2d4432ba9ae006cdbf904dc948f5945c3c18bac Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Thu, 16 Jul 2020 08:11:04 -0600 Subject: [PATCH] Fix SSO session ID paramater --- src/vector/platform/ElectronPlatform.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vector/platform/ElectronPlatform.tsx b/src/vector/platform/ElectronPlatform.tsx index 0c8c1038..f21f7601 100644 --- a/src/vector/platform/ElectronPlatform.tsx +++ b/src/vector/platform/ElectronPlatform.tsx @@ -503,7 +503,7 @@ export default class ElectronPlatform extends VectorBasePlatform { getSSOCallbackUrl(fragmentAfterLogin: string): URL { const url = super.getSSOCallbackUrl(fragmentAfterLogin); url.protocol = "element"; - url.searchParams.set("riot-desktop-ssoid", this.ssoID); + url.searchParams.set("element-desktop-ssoid", this.ssoID); return url; }