Skip to content

Commit 8eac445

Browse files
authored
Merge pull request element-hq#14513 from vector-im/travis/fix-sso
Use the right protocol for SSO URLs
2 parents 636529b + 1b60743 commit 8eac445

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vector/platform/ElectronPlatform.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ export default class ElectronPlatform extends VectorBasePlatform {
502502

503503
getSSOCallbackUrl(fragmentAfterLogin: string): URL {
504504
const url = super.getSSOCallbackUrl(fragmentAfterLogin);
505-
url.protocol = "riot";
505+
url.protocol = "element";
506506
url.searchParams.set("riot-desktop-ssoid", this.ssoID);
507507
return url;
508508
}

0 commit comments

Comments
 (0)