Use the right protocol for SSO URLs

This commit is contained in:
Travis Ralston 2020-07-15 17:05:17 -06:00
parent 636529bb36
commit 1b60743910

View file

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