1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 10:13:31 +00:00

PM-19511: Add support for ExcludedCredentials (#14128)

* works

* Add mapping

* remove the build script

* cleanup
This commit is contained in:
Anders Åberg
2025-04-08 19:59:31 +02:00
committed by GitHub
parent b676f9b8a5
commit 411d195386
5 changed files with 17 additions and 2 deletions

View File

@@ -289,7 +289,10 @@ export class DesktopAutofillService implements OnDestroy {
alg,
type: "public-key",
})),
excludeCredentialDescriptorList: [],
excludeCredentialDescriptorList: request.excludedCredentials.map((credentialId) => ({
id: new Uint8Array(credentialId),
type: "public-key" as const,
})),
requireResidentKey: true,
requireUserVerification:
request.userVerification === "required" || request.userVerification === "preferred",