{"id":18096420,"url":"https://github.com/cermakjiri/with-webauthn","last_synced_at":"2026-04-18T00:04:22.686Z","repository":{"id":260295019,"uuid":"868212638","full_name":"cermakjiri/with-webauthn","owner":"cermakjiri","description":"Full-stack examples of WebAuthn API.","archived":false,"fork":false,"pushed_at":"2025-08-30T10:34:09.000Z","size":2538,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-10-10T00:09:38.045Z","etag":null,"topics":["fido2","firebase-auth","full-stack","nextjs","passkeys","passkeys-demo","public-key-authentication","react","security-key","simplewebauthn","typescript","webauthn","webauthn-demo"],"latest_commit_sha":null,"homepage":"https://with-webauthn.dev","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cermakjiri.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-10-05T19:07:40.000Z","updated_at":"2025-07-23T10:44:47.000Z","dependencies_parsed_at":"2024-10-30T15:53:20.313Z","dependency_job_id":"9b947a5b-dc9a-462b-b097-dcd84bf9b263","html_url":"https://github.com/cermakjiri/with-webauthn","commit_stats":null,"previous_names":["cermakjiri/with-webauthn"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cermakjiri/with-webauthn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cermakjiri%2Fwith-webauthn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cermakjiri%2Fwith-webauthn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cermakjiri%2Fwith-webauthn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cermakjiri%2Fwith-webauthn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cermakjiri","download_url":"https://codeload.github.com/cermakjiri/with-webauthn/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cermakjiri%2Fwith-webauthn/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31950895,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T17:29:20.459Z","status":"ssl_error","status_checked_at":"2026-04-17T17:28:47.801Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fido2","firebase-auth","full-stack","nextjs","passkeys","passkeys-demo","public-key-authentication","react","security-key","simplewebauthn","typescript","webauthn","webauthn-demo"],"created_at":"2024-10-31T19:14:09.736Z","updated_at":"2026-04-18T00:04:22.664Z","avatar_url":"https://github.com/cermakjiri.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv style=\"text-align:center\"\u003e\n\n# With WebAuthn\n\nA repository with full stack **WebAuthn API** examples.\n\n\u003cdiv style=\"text-align:left\"\u003e\n\n## Examples\n\n1. **[Authenticate with passkeys - Passkeys with SimpleWebAuthn \u0026 Firebase](examples/webauthn-default/README.md)**\n\n    - Creating (user registration), retrieving (user login), linking multiple, and removing passkeys.\n    - Passkeys autofill.\n    - Formatting and parsing of WebAuthn API request / responses done via [SimpleWebAuthn](https://simplewebauthn.dev) library.\n    - Built with [Firebase Auth](https://firebase.google.com/docs/auth/admin/create-custom-tokens) and Firestore SDKs.\n    - 👉 [**Check out the demo**](https://with-webauthn.dev)\n\n2. **[Upgrade to passkeys – From email/password to passkeys with SimpleWebAuthn \u0026 Firebase](examples/webauthn-upgrade/README.md)**\n    - A user registers with traditional email/password and verifies their email afterwards.\n    - Then the user can link passkey/s and therefore upgrades to MFA.\n    - The user can downgrade to single-factor authentication by removing all their passkeys.\n    - Built with [SimpleWebAuthn](https://simplewebauthn.dev), [Firebase Auth](https://firebase.google.com/docs/auth/admin/create-custom-tokens) and Firestore SDKs.\n    - 👉 [**Check out the demo**](https://upgrade.with-webauthn.dev)\n\n\u003e #### 💡 Are you want to learn more about WebAuthn and passkeys?\n\u003e\n\u003e Let me share with you a developer guide to passkeys in my [Welcome to the world of passkeys](https://www.ackee.agency/blog/welcome-to-the-world-of-passkeys) blog post (česky [Vítejte ve světě passkeys](https://www.ackee.cz/blog/vitejte-ve-svete-passkeys)).\n\n---\n\n## Development\n\n### Common Stack notes:\n\n- The whole project is managed using tuborepo.\n- All examples are in NextJS (React) framework.\n- API calls are handled with React Tanstack query on client.\n- API endpoints are built via NextJS API routes.\n- Forms are built with react-hook-form and validated with zod schemas.\n- Material UI with styled components as UI SDK.\n\n### How to start the project locally?\n\n1. Initialize package manager:\n   Make sure you're running Node v20. Then initialize a package manager:\n\n    ```sh\n    corepack enable\n    corepack install\n    ```\n\n    It finds `packageManager` field and installs Yarn 4.\n\n2. Install dependencies:\n\n    ```sh\n    yarn install --immutable\n    ```\n\n3. Note that common code of each example is placed in `packages/common` (for client and server).\n\n4. Then continue with final steps for specific example:\n    - [Authenticate with passkeys](examples/webauthn-default/README.md)\n    - [Upgrade to passkeys](examples/webauthn-upgrade/README.md)\n\n## Have you a found a bug?\n\nPlease, open a [Github issue](https://github.com/cermakjiri/with-webauthn/issues/new/choose). Thank you. ❤️\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcermakjiri%2Fwith-webauthn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcermakjiri%2Fwith-webauthn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcermakjiri%2Fwith-webauthn/lists"}