mirror of
https://github.com/bitwarden/browser
synced 2025-12-06 00:13:28 +00:00
Remove fido2 google.com workaround (#16347)
Updates the transports property in the credential creation response to only include "internal" and "hybrid" transports.
This commit is contained in:
@@ -251,8 +251,7 @@ export class Fido2ClientService<ParentWindowReference>
|
||||
clientDataJSON: Fido2Utils.bufferToString(clientDataJSONBytes),
|
||||
publicKey: Fido2Utils.bufferToString(makeCredentialResult.publicKey),
|
||||
publicKeyAlgorithm: makeCredentialResult.publicKeyAlgorithm,
|
||||
transports:
|
||||
params.rp.id === "google.com" ? ["internal", "usb", "hybrid"] : ["internal", "hybrid"],
|
||||
transports: ["internal", "hybrid"],
|
||||
extensions: { credProps },
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user