diff --git a/libs/common/src/platform/services/fido2/fido2-authenticator.service.ts b/libs/common/src/platform/services/fido2/fido2-authenticator.service.ts index 76bd19b2876..b9c49c104e6 100644 --- a/libs/common/src/platform/services/fido2/fido2-authenticator.service.ts +++ b/libs/common/src/platform/services/fido2/fido2-authenticator.service.ts @@ -354,6 +354,8 @@ export class Fido2AuthenticatorService params: Fido2AuthenticatorGetAssertionParams, cipherOptions: CipherView[], ) { + this.logService?.info("Searching for credentials matching params", params); + if (params.allowCredentialDescriptorList?.length > 0) { cipherOptions = await this.findCredentialsById( params.allowCredentialDescriptorList, @@ -425,6 +427,9 @@ export class Fido2AuthenticatorService const activeUserId = await firstValueFrom(this.accountService.activeAccount$.pipe(getUserId)); const ciphers = await this.cipherService.getAllDecrypted(activeUserId); + + this.logService.info("Searching for ciphers by Id", ciphers); + return ciphers.filter( (cipher) => !cipher.isDeleted && @@ -443,6 +448,9 @@ export class Fido2AuthenticatorService private async findCredentialsByRp(rpId: string): Promise { const activeUserId = await firstValueFrom(this.accountService.activeAccount$.pipe(getUserId)); const ciphers = await this.cipherService.getAllDecrypted(activeUserId); + + this.logService.info("Searching for ciphers by RP in", ciphers); + return ciphers.filter( (cipher) => !cipher.isDeleted &&