From 1b60743910b7e7cdc4765c19359d1b2bc1a68d18 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Wed, 15 Jul 2020 17:05:17 -0600 Subject: [PATCH] Use the right protocol for SSO URLs --- 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 e777e9b5..0c8c1038 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; }