Fix SSO session ID paramater

pull/14544/head
Travis Ralston 2020-07-16 08:11:04 -06:00
parent efa603939b
commit b2d4432ba9
1 changed files with 1 additions and 1 deletions

View File

@ -503,7 +503,7 @@ export default class ElectronPlatform extends VectorBasePlatform {
getSSOCallbackUrl(fragmentAfterLogin: string): URL { getSSOCallbackUrl(fragmentAfterLogin: string): URL {
const url = super.getSSOCallbackUrl(fragmentAfterLogin); const url = super.getSSOCallbackUrl(fragmentAfterLogin);
url.protocol = "element"; url.protocol = "element";
url.searchParams.set("riot-desktop-ssoid", this.ssoID); url.searchParams.set("element-desktop-ssoid", this.ssoID);
return url; return url;
} }