mirror of
https://github.com/bitwarden/clients.git
synced 2026-06-22 21:02:34 +08: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:
parent
ba817f0389
commit
3a2bee9444
@ -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 },
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user