next-auth
3722f918 - feat: Passkey / WebAuthn provider (experimental) (#8808)

Commit
2 years ago
feat: Passkey / WebAuthn provider (experimental) (#8808) * Fixed typos in supabase documentation (#9698) chore: Fix typos in supabase adapter documentation * initial passkeys * working v1 * cleanup * remove GetUserInfo restraints * fix webpack renaming issues * Use simplewebauthn server 9.0.1 * disconnect webauthn userID and internal database userID * Add webauthn method testing to adapter utils * move simplewebauthn/server to peerdeps * update pnpm lock * comment improvements * use User instead of AdapterUser for webauthn methods * remove unnecessary casting * rename baseURL to authURL in webauthn contexts * use inferWebAuthnOptions instead of decideWebAuthnOptions * fix inferWebAuthnOptions docstring * remove unecessary default value in inferWebAuthnOptions * infer relaying party from request url * simplify getLoggedInUser * validate provider.simpleWebAuthnBrowserVersion in assertConfig * add tests to webauthn-utils * allow multiple relaying parties * remove changes to dev app * fix email and db session assertion * move adapter codebase to new PR * fix adapter builds * fix: move @simplewebauthn/browser to peerDep * fix: add note about installing peerDep to passkeys provider docs page * fix: dynamic import webauthn browser methods * fix: move webauthn signin to own export * feat(prisma): support webauthn (#9876) passkey adapter stuff Co-authored-by: Nico Domino <yo@ndo.dev> --------- Co-authored-by: Vishal Kashi <dev.vishalkashi@gmail.com> Co-authored-by: Nico Domino <yo@ndo.dev> Co-authored-by: Balázs Orbán <info@balazsorban.com>
Author
Parents
Loading