diff --git a/src/components/Authentication/SignInUserPasskey.tsx b/src/components/Authentication/SignInUserPasskey.tsx index 54a389aca..e6c7f5c1a 100644 --- a/src/components/Authentication/SignInUserPasskey.tsx +++ b/src/components/Authentication/SignInUserPasskey.tsx @@ -109,8 +109,10 @@ const SignInUserPasskey = (signInUserProps: signInUserProps) => { setFidoUserError(generateAuthenticationResponse?.data?.error); const opts = generateAuthenticationResponse?.data?.data; + if (opts) { + opts.allowCredentials = [] // to fix the paaskey issue(Patch on PROD) + } const attResp = await startAuthentication(opts); - opts.allowCredentials = [] // to fix the paaskey issue(Patch on PROD) const verifyAuthenticationObj = { ...attResp, challangeId,