{"id":20630751,"url":"https://github.com/teamhanko/passkeys-remix","last_synced_at":"2026-05-29T08:03:03.954Z","repository":{"id":225070971,"uuid":"764597501","full_name":"teamhanko/passkeys-remix","owner":"teamhanko","description":"A Remix example app with passkey authentication, using Hanko Passkey API","archived":false,"fork":false,"pushed_at":"2024-05-02T11:56:57.000Z","size":2397,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-19T21:49:23.502Z","etag":null,"topics":["passkeys","remix","remix-run","typescript","webauthn"],"latest_commit_sha":null,"homepage":"https://passkeys-remix.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/teamhanko.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2024-02-28T11:19:31.000Z","updated_at":"2024-08-17T07:11:31.000Z","dependencies_parsed_at":"2024-05-02T13:00:18.038Z","dependency_job_id":"40df7128-d965-4369-b486-7c835117cf00","html_url":"https://github.com/teamhanko/passkeys-remix","commit_stats":null,"previous_names":["ashutosh-bhadauriya/remix-passkeys","teamhanko/remix-passkeys"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/teamhanko/passkeys-remix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teamhanko%2Fpasskeys-remix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teamhanko%2Fpasskeys-remix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teamhanko%2Fpasskeys-remix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teamhanko%2Fpasskeys-remix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/teamhanko","download_url":"https://codeload.github.com/teamhanko/passkeys-remix/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teamhanko%2Fpasskeys-remix/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33642318,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-29T02:00:06.066Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["passkeys","remix","remix-run","typescript","webauthn"],"created_at":"2024-11-16T14:09:27.050Z","updated_at":"2026-05-29T08:03:03.937Z","avatar_url":"https://github.com/teamhanko.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Integrating Passkey Authentication in a Remix App\n\nThis repository demonstrates how to add passkey login functionality to your Remix app using the Hanko Passkey API. Passkey authentication is a secure and user-friendly alternative to traditional password-based authentication, providing a seamless login experience for users.\n\nFor a detailed tutorial on implementing passkey login in your Solid.js app, refer to our blog post: [Adding passkeys to a Remix app](https://www.hanko.io/blog/passkeys-remix)\n\n![Passkey demo](/passkey.gif)\n\n## Prerequisites\n\nBefore you begin, ensure you have the following:\n\n- Node.js installed (version 20.0.0 or later)\n- Hanko Passkey API key and tenant ID from [Hanko Cloud](https://cloud.hanko.io/)\n\n\u003e **Note:**\n\u003e You'll need to create a Passkey Project on Hanko Cloud with the App URL `http://localhost:3000`. See our docs to learn how to setup a [passkey project](https://docs.hanko.io/passkey-api/setup-passkey-project).\n\n## Getting started\n\n1. Clone the repository\n\n```bash\ngit clone https://github.com/teamhanko/passkeys-remix\n```\n\n2. Set up environment variables\n\n   * Create a `.env` file in the root directory and add the following environment variables:\n\n    ```sh\n    PASSKEYS_API_KEY=your-hanko-passkey-api-key\n    PASSKEYS_TENANT_ID=your-hanko-passkey-tenant-id\n    ```\n\n   * Replace `your-hanko-passkey-api-key` and `your-hanko-passkey-tenant-id` with your actual Hanko Passkey API key and tenant ID.\n\n\n3. Install the dependencies using your preferred package manager (e.g., `npm`, `pnpm`, `yarn`, or `bun`). For this project, we've used `pnpm`:\n\n```bash\npnpm install\n```\n\n4. Start the development server:\n\n```bash\npnpm dev\n```\n\n## Usage\n\n1. Start the application:\n   \n   * Access the application by navigating to `http://localhost:3000` in your web browser.\n  \n2. Log in with a pre-configured user: Navigate to login page, login with one of the pre-configured users.\n\n```json\n    {\n        \"id\": \"b3fbbdbd-6bb5-4558-9055-3b54a9469629\",\n        \"email\": \"john.doe@example.com\",\n        \"password\": \"password123\",\n    },\n    {\n        \"id\": \"22c81b3d-1e7d-4a72-a6b0-ad946e0c0965\",\n        \"email\": \"sergio_mq@example.com\",\n        \"password\": \"very_secure_password\",\n    }\n```\n\n3. Register a passkey:\n   \n   * After logging in, register a passkey for the logged-in user.\n\n\n4. Log out:\n   * After the passkey registration is successful, log out of the application.\n\n5. Login with with a passkey\n\n   * On the login page, choose sign in with a passkey option to authenticate using a passkey.\n\n## Support\n\nFeel free to reach out to us on [Discord](https://hanko.io/community) if you get into any issues.\n\n## License\n\nThis project is licensed under the MIT License.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteamhanko%2Fpasskeys-remix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteamhanko%2Fpasskeys-remix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteamhanko%2Fpasskeys-remix/lists"}