Skip to content

Commit

Permalink
fix(passkey): user verification shouldn't be required on passkey regi…
Browse files Browse the repository at this point in the history
…stration (#1053)

similar to #332
  • Loading branch information
canstand authored Dec 28, 2024
1 parent b1f1239 commit 00996b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/better-auth/src/plugins/passkey/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,7 @@ export const passkey = (options?: PasskeyOptions) => {
expectedChallenge,
expectedOrigin: origin,
expectedRPID: options?.rpID,
requireUserVerification: false,
});
const { verified, registrationInfo } = verification;
if (!verified || !registrationInfo) {
Expand Down

0 comments on commit 00996b9

Please sign in to comment.