1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-21 16:18:28 +01:00

[PM-4773] Google Passkey workarounds (#6847)

* Update fido2-client.service.ts

* Update fido2-client.service.ts

* Update fido2-authenticator.service.ts

* Revert fido2-client.service.ts

* Update fido2-authenticator.service.ts

* Revert fido2-authenticator.service.ts

* Use usb transport again

* Update fido2-authenticator.service.ts

* Update fido2-client.service.ts

---------

Co-authored-by: SmithThe4th <gsmith@bitwarden.com>
This commit is contained in:
limisk 2023-11-20 20:18:45 +01:00 committed by GitHub
parent b622c38c6f
commit b988429822
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -196,7 +196,7 @@ export class Fido2ClientService implements Fido2ClientServiceAbstraction {
authData: Fido2Utils.bufferToString(makeCredentialResult.authData),
clientDataJSON: Fido2Utils.bufferToString(clientDataJSONBytes),
publicKeyAlgorithm: makeCredentialResult.publicKeyAlgorithm,
transports: ["internal"],
transports: params.rp.id === "google.com" ? ["internal", "usb"] : ["internal"],
};
}