diff --git a/apps/browser/src/vault/fido2/content/page-script.ts b/apps/browser/src/vault/fido2/content/page-script.ts index 2486090230..9a3a74bed1 100644 --- a/apps/browser/src/vault/fido2/content/page-script.ts +++ b/apps/browser/src/vault/fido2/content/page-script.ts @@ -62,9 +62,9 @@ navigator.credentials.create = async ( } const fallbackSupported = - (options?.publicKey?.authenticatorSelection.authenticatorAttachment === "platform" && + (options?.publicKey?.authenticatorSelection?.authenticatorAttachment === "platform" && browserNativeWebauthnPlatformAuthenticatorSupport) || - (options?.publicKey?.authenticatorSelection.authenticatorAttachment !== "platform" && + (options?.publicKey?.authenticatorSelection?.authenticatorAttachment !== "platform" && browserNativeWebauthnSupport); try { const response = await messenger.request(