Merge pull request #14513 from vector-im/travis/fix-sso
Use the right protocol for SSO URLs
This commit is contained in:
commit
8eac445ddc
1 changed files with 1 additions and 1 deletions
|
@ -502,7 +502,7 @@ export default class ElectronPlatform extends VectorBasePlatform {
|
||||||
|
|
||||||
getSSOCallbackUrl(fragmentAfterLogin: string): URL {
|
getSSOCallbackUrl(fragmentAfterLogin: string): URL {
|
||||||
const url = super.getSSOCallbackUrl(fragmentAfterLogin);
|
const url = super.getSSOCallbackUrl(fragmentAfterLogin);
|
||||||
url.protocol = "riot";
|
url.protocol = "element";
|
||||||
url.searchParams.set("riot-desktop-ssoid", this.ssoID);
|
url.searchParams.set("riot-desktop-ssoid", this.ssoID);
|
||||||
return url;
|
return url;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue