Skip to content

Commit

Permalink
Merge pull request #15771 from vector-im/t3chguy/socials
Browse files Browse the repository at this point in the history
Extend Platform to support idpId for SSO flows
  • Loading branch information
t3chguy authored Dec 2, 2020
2 parents ed05f9d + 1e1a14c commit a63bd87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vector/platform/ElectronPlatform.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 />,
Expand Down

0 comments on commit a63bd87

Please sign in to comment.