diff --git a/src/vector/platform/ElectronPlatform.tsx b/src/vector/platform/ElectronPlatform.tsx index e777e9b58..0c8c1038f 100644 --- a/src/vector/platform/ElectronPlatform.tsx +++ b/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; }