Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
1 parent
d4e1c51
commit 3722f91
Showing
29 changed files
with
3,078 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.