feat(account): Implement account and organization management features

This commit is contained in:
2024-10-06 23:56:03 +02:00
parent 2c0e771da2
commit f7600ca83f
26 changed files with 1036 additions and 240 deletions
+3 -5
View File
@@ -1,4 +1,4 @@
import { IdpState } from '../idp.state.js';
import { IdpState } from '../states/idp.state.js';
import * as plugins from '../plugins.js';
import {
customElement,
@@ -272,11 +272,9 @@ export class IdpRegistrationStepper extends DeesElement {
refreshToken: this.storedData.refreshToken,
});
deesForm.setStatus('pending', 'Obtaining Transfer Token...');
deesForm.setStatus('success', 'Ok! Lets Go!');
await idpState.idpClient.setJwt(jwtResponse.jwt);
await idpState.idpClient.getTransferTokenAndSwitchToLocation(
'https://sso.workspace.global/afterregistration'
);
idpState.domtools.router.pushUrl('/account');
});
},
},