{"id":21590230,"url":"https://github.com/corbado/example-passkeys-nodejs","last_synced_at":"2025-10-11T12:17:22.376Z","repository":{"id":157992327,"uuid":"616892958","full_name":"corbado/example-passkeys-nodejs","owner":"corbado","description":"Node.js (Express) repository of a sample app that offers passkey authentication.","archived":false,"fork":false,"pushed_at":"2024-10-21T08:55:18.000Z","size":164,"stargazers_count":13,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-10-11T12:17:22.104Z","etag":null,"topics":["authentication","fido2","nodejs","passkey","passkeys","passwordless","webauthn"],"latest_commit_sha":null,"homepage":"https://www.corbado.com/passkeys/node-js","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/corbado.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-03-21T09:50:29.000Z","updated_at":"2025-01-12T17:59:18.000Z","dependencies_parsed_at":"2025-04-15T08:01:29.904Z","dependency_job_id":null,"html_url":"https://github.com/corbado/example-passkeys-nodejs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/corbado/example-passkeys-nodejs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corbado%2Fexample-passkeys-nodejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corbado%2Fexample-passkeys-nodejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corbado%2Fexample-passkeys-nodejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corbado%2Fexample-passkeys-nodejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/corbado","download_url":"https://codeload.github.com/corbado/example-passkeys-nodejs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corbado%2Fexample-passkeys-nodejs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279007143,"owners_count":26084246,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"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":["authentication","fido2","nodejs","passkey","passkeys","passwordless","webauthn"],"created_at":"2024-11-24T16:17:11.468Z","updated_at":"2025-10-11T12:17:22.332Z","avatar_url":"https://github.com/corbado.png","language":"TypeScript","readme":"# Node.js (Express) Passkey Example App\n\nThis is a sample implementation of frontend and backend where the Corbado Node.js SDK and Web-js components are\nintegrated in an Express application.\n\n## 1. File structure\n\n```\n├── ...\n├── .env                        # Environment variables for the application\n├── src                             \n│   ├── app.ts                  # Application Entrypoint\n│   ├── routes.ts               # Defines our routes \n│   ├── authController.ts       # Handles all of our endpoints\n│   └── userService.ts          # Service to manage User data\n└── ...\n```\n\n## 2. Setup\n\n### 2.1. Configure environment variables\n\nPlease follow our [Getting started](https://docs.corbado.com/overview/getting-started) page to create and\nconfigure a project in the [developer panel](https://app.corbado.com).\n\nUse the values you obtained above to configure the following variables inside `.env`:\n\n1. **CORBADO_PROJECT_ID**: The project ID.\n2. **CORBADO_API_SECRET**: The API secret.\n3. **CORBADO_FRONTEND_API**: The frontend API URL.\n4. **CORBADO_BACKEND_API**: The backend API URL.\n\n### 2.2. Run the Express App\n\nUse the following command to install all dependencies:\n\n```\nnpm i\n```\n\nNow, you're ready to run the app like this:\n\n```\nnpm run start\n```\n\n## 3. Usage\n\nAfter step 2 your local server should be fully working.\n\n### 3.1. Test authentication\n\nIf you now visit `http://localhost:3000`, you should be seeing our authentication UI.\n\nCreate an account and take a look at the profile page under `/profile` you'll be forwarded to.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorbado%2Fexample-passkeys-nodejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcorbado%2Fexample-passkeys-nodejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorbado%2Fexample-passkeys-nodejs/lists"}