mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Merge pull request #15771 from vector-im/t3chguy/socials
Extend Platform to support idpId for SSO flows
This commit is contained in:
commit
a63bd875bc
@ -503,9 +503,9 @@ export default class ElectronPlatform extends VectorBasePlatform {
|
|||||||
return url;
|
return url;
|
||||||
}
|
}
|
||||||
|
|
||||||
startSingleSignOn(mxClient: MatrixClient, loginType: "sso" | "cas", fragmentAfterLogin: string) {
|
startSingleSignOn(mxClient: MatrixClient, loginType: "sso" | "cas", fragmentAfterLogin: string, idpId?: string) {
|
||||||
// this will get intercepted by electron-main will-navigate
|
// this will get intercepted by electron-main will-navigate
|
||||||
super.startSingleSignOn(mxClient, loginType, fragmentAfterLogin);
|
super.startSingleSignOn(mxClient, loginType, fragmentAfterLogin, idpId);
|
||||||
Modal.createTrackedDialog('Electron', 'SSO', InfoDialog, {
|
Modal.createTrackedDialog('Electron', 'SSO', InfoDialog, {
|
||||||
title: _t("Go to your browser to complete Sign In"),
|
title: _t("Go to your browser to complete Sign In"),
|
||||||
description: <Spinner />,
|
description: <Spinner />,
|
||||||
|
Loading…
Reference in New Issue
Block a user