mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 20:54:59 +08:00
Merge pull request #14544 from vector-im/travis/fix-sso2
Fix SSO session ID paramater
This commit is contained in:
commit
8e67450477
@ -503,7 +503,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 = "element";
|
url.protocol = "element";
|
||||||
url.searchParams.set("riot-desktop-ssoid", this.ssoID);
|
url.searchParams.set("element-desktop-ssoid", this.ssoID);
|
||||||
return url;
|
return url;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user