From 3a2bee94445cb62c1aced1d40e5684fcf7480435 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20=C3=85berg?= Date: Thu, 18 Sep 2025 10:32:25 +0200 Subject: [PATCH] Remove fido2 google.com workaround (#16347) Updates the transports property in the credential creation response to only include "internal" and "hybrid" transports. --- .../common/src/platform/services/fido2/fido2-client.service.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libs/common/src/platform/services/fido2/fido2-client.service.ts b/libs/common/src/platform/services/fido2/fido2-client.service.ts index 431585441a7..08c0a265100 100644 --- a/libs/common/src/platform/services/fido2/fido2-client.service.ts +++ b/libs/common/src/platform/services/fido2/fido2-client.service.ts @@ -251,8 +251,7 @@ export class Fido2ClientService 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 }, }; }