mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 17:56:01 +03:00
Extend Platform to support idpId for SSO flows
This commit is contained in:
parent
b6dca76ad6
commit
1e1a14c9a9
1 changed files with 2 additions and 2 deletions
|
@ -503,9 +503,9 @@ export default class ElectronPlatform extends VectorBasePlatform {
|
|||
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
|
||||
super.startSingleSignOn(mxClient, loginType, fragmentAfterLogin);
|
||||
super.startSingleSignOn(mxClient, loginType, fragmentAfterLogin, idpId);
|
||||
Modal.createTrackedDialog('Electron', 'SSO', InfoDialog, {
|
||||
title: _t("Go to your browser to complete Sign In"),
|
||||
description: <Spinner />,
|
||||
|
|
Loading…
Reference in a new issue