1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 06:13:38 +00:00

PM-11230: Add hybrid as passkey transport (#13536)

This commit is contained in:
Anders Åberg
2025-03-24 20:17:18 +01:00
committed by GitHub
parent 8ed8c9af6a
commit 8e62e0589d

View File

@@ -251,7 +251,8 @@ export class Fido2ClientService<ParentWindowReference>
clientDataJSON: Fido2Utils.bufferToString(clientDataJSONBytes), clientDataJSON: Fido2Utils.bufferToString(clientDataJSONBytes),
publicKey: Fido2Utils.bufferToString(makeCredentialResult.publicKey), publicKey: Fido2Utils.bufferToString(makeCredentialResult.publicKey),
publicKeyAlgorithm: makeCredentialResult.publicKeyAlgorithm, publicKeyAlgorithm: makeCredentialResult.publicKeyAlgorithm,
transports: params.rp.id === "google.com" ? ["internal", "usb"] : ["internal"], transports:
params.rp.id === "google.com" ? ["internal", "usb", "hybrid"] : ["internal", "hybrid"],
extensions: { credProps }, extensions: { credProps },
}; };
} }