Browse Source

Merge pull request #15771 from vector-im/t3chguy/socials

Extend Platform to support idpId for SSO flows
pull/15890/head
Michael Telatynski 2 years ago committed by GitHub
parent
commit
a63bd875bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/vector/platform/ElectronPlatform.tsx

4
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: <Spinner />,

Loading…
Cancel
Save