Browse Source

Use the right protocol for SSO URLs

pull/14513/head
Travis Ralston 2 years ago
parent
commit
1b60743910
  1. 2
      src/vector/platform/ElectronPlatform.tsx

2
src/vector/platform/ElectronPlatform.tsx

@ -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;
}

Loading…
Cancel
Save