From 61437bae002ea0909a463e186ff3ae4f0178e4f4 Mon Sep 17 00:00:00 2001 From: Andreas Coroiu Date: Fri, 31 Mar 2023 16:27:21 +0200 Subject: [PATCH] [EC-598] fix: flag saying authData doesnt contain attestation --- .../common/src/webauthn/services/fido2-authenticator.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/common/src/webauthn/services/fido2-authenticator.service.ts b/libs/common/src/webauthn/services/fido2-authenticator.service.ts index 166bede78ce..e61fcd9cb5c 100644 --- a/libs/common/src/webauthn/services/fido2-authenticator.service.ts +++ b/libs/common/src/webauthn/services/fido2-authenticator.service.ts @@ -351,7 +351,7 @@ async function generateAuthData(params: AuthDataParams) { const flags = authDataFlags({ extensionData: false, - attestationData: false, + attestationData: params.keyPair != undefined, userVerification: params.userVerification, userPresence: params.userPresence, });