[Bug] Update 2fa navigate action to pass along Org Identifier (#714)

* Add identifer in 2fa navigate action

* Update jslib (6563dcc -> d9d13bb)

* fixed breaking changes from jslib update
This commit is contained in:
Vincent Salucci 2020-11-23 09:12:12 -06:00 committed by GitHub
parent 82b36c1b70
commit 03f575f66f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 3 deletions

2
jslib

@ -1 +1 @@
Subproject commit 6563dccf3b444c6f2ea97efe913eaccf9d9fd502
Subproject commit d9d13bbf0e2b5b6d93459f3eca22c65c00543716

View File

@ -69,7 +69,11 @@ export class TwoFactorComponent extends BaseTwoFactorComponent {
this.router.navigate([loginRedirect.route], { queryParams: loginRedirect.qParams });
await this.stateService.remove('loginRedirect');
} else {
this.router.navigate([this.successRoute]);
this.router.navigate([this.successRoute], {
queryParams: {
identifier: this.identifier,
},
});
}
}
}

View File

@ -95,7 +95,7 @@ const secureStorageService: StorageServiceAbstraction = new MemoryStorageService
const cryptoFunctionService: CryptoFunctionServiceAbstraction = new WebCryptoFunctionService(window,
platformUtilsService);
const cryptoService = new CryptoService(storageService,
platformUtilsService.isDev() ? storageService : secureStorageService, cryptoFunctionService);
platformUtilsService.isDev() ? storageService : secureStorageService, cryptoFunctionService, platformUtilsService);
const tokenService = new TokenService(storageService);
const appIdService = new AppIdService(storageService);
const apiService = new ApiService(tokenService, platformUtilsService,

View File

@ -281,4 +281,8 @@ export class WebPlatformUtilsService implements PlatformUtilsService {
authenticateBiometric() {
return Promise.resolve(false);
}
supportsSecureStorage() {
return true;
}
}