{"id":21590238,"url":"https://github.com/corbado/example-passkeys-react","last_synced_at":"2025-06-22T06:06:46.079Z","repository":{"id":184985058,"uuid":"672767404","full_name":"corbado/example-passkeys-react","owner":"corbado","description":"This is a sample repository of a React app that offers passkey authentication.","archived":false,"fork":false,"pushed_at":"2024-10-17T09:10:33.000Z","size":734,"stargazers_count":21,"open_issues_count":0,"forks_count":3,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-06-22T06:06:33.077Z","etag":null,"topics":["faceid","fido2","javascript","passkey","passkeys","react","touchid","webauthn"],"latest_commit_sha":null,"homepage":"https://www.corbado.com/passkeys/react","language":"JavaScript","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/corbado.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,"zenodo":null}},"created_at":"2023-07-31T05:57:28.000Z","updated_at":"2025-01-12T17:59:26.000Z","dependencies_parsed_at":"2024-10-19T01:18:25.262Z","dependency_job_id":null,"html_url":"https://github.com/corbado/example-passkeys-react","commit_stats":null,"previous_names":["corbado/example-passkeys-react"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/corbado/example-passkeys-react","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corbado%2Fexample-passkeys-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corbado%2Fexample-passkeys-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corbado%2Fexample-passkeys-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corbado%2Fexample-passkeys-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/corbado","download_url":"https://codeload.github.com/corbado/example-passkeys-react/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corbado%2Fexample-passkeys-react/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261244053,"owners_count":23129642,"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","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":["faceid","fido2","javascript","passkey","passkeys","react","touchid","webauthn"],"created_at":"2024-11-24T16:17:12.475Z","updated_at":"2025-06-22T06:06:40.916Z","avatar_url":"https://github.com/corbado.png","language":"JavaScript","readme":"# React Passkey-First Authentication Example with Corbado\n\nThis is a sample implementation of the Corbado web component being integrated into a web application built with React.\n\nPlease see the [full blog post](https://www.corbado.com/blog/react-passkeys) to understand all the required steps to integrate passkeys into React apps.\n\n## File structure\n\n- `src/App.js`: routing for the React web app\n- `src/Home.js`: component for the sign up / login screen\n- `src/Profile.js`: :component for the user profile information that is shown after successful authentication\n- `.env`: add Corbado project id as environment variables that you can obtain\n  from [Corbado developer panel](https://app.corbado.com/signin#register)\n\n## Setup\n\n### Prerequisites\n\nPlease follow the steps in [Getting started](https://docs.corbado.com/overview/getting-started) to create and configure\na project in the [Corbado developer panel](https://app.corbado.com/signin#register).\n\nYou need to have [Node](https://nodejs.org/en/download) and `npm` installed to run it.\n\n## Usage\n\nRun\n\n```bash\nnpm i\n```\n\nto install all dependencies.\n\nFinally, you can run the project locally with\n\n```bash\nexport REACT_APP_CORBADO_PROJECT_ID=\u003cYOUR PROJECT ID\u003e\nnpm start\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorbado%2Fexample-passkeys-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcorbado%2Fexample-passkeys-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorbado%2Fexample-passkeys-react/lists"}