diff --git a/src/components/Instance.js b/src/components/Instance.js index bd4f6c1..084efc0 100644 --- a/src/components/Instance.js +++ b/src/components/Instance.js @@ -28,7 +28,8 @@ export class Instance extends React.PureComponent { instanceState: undefined, configWizardSrc: undefined, authExternalId: undefined, - authUrlParams: '' + authUrlParams: '', + accountId: '' }; openWizard = (openInIframe, addCustomValidation = false) => { @@ -78,7 +79,7 @@ export class Instance extends React.PureComponent { onCreateAuth = () => { getAuthCreateUrl(this.props.id, this.state.authExternalId) .then(({body}) => { - openAuthWindow(`${body.data.popupUrl}&${this.state.authUrlParams}`); + openAuthWindow(`${body.data.popupUrl}&${this.state.authUrlParams}`, this.state.accountId); }) }; @@ -202,6 +203,15 @@ export class Instance extends React.PureComponent { shrink: true, }} /> +