From 1e1a14c9a932ac719f7697702661240be46e992e Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 19 Nov 2020 11:07:44 +0000 Subject: [PATCH] Extend Platform to support idpId for SSO flows --- src/vector/platform/ElectronPlatform.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vector/platform/ElectronPlatform.tsx b/src/vector/platform/ElectronPlatform.tsx index 64835a00d4..5f9603e4b3 100644 --- a/src/vector/platform/ElectronPlatform.tsx +++ b/src/vector/platform/ElectronPlatform.tsx @@ -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: ,