Skip to content

Commit

Permalink
Merge pull request #635 from credebl/passkey-login-issue
Browse files Browse the repository at this point in the history
fix: passkey login issue
  • Loading branch information
sanjay-k1910 committed Mar 26, 2024
2 parents 4bb4312 + 4433e65 commit 415d13d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/Authentication/SignInUserPasskey.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,9 @@ 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);
const verifyAuthenticationObj = {
...attResp,
Expand Down

0 comments on commit 415d13d

Please sign in to comment.