{"id":21590258,"url":"https://github.com/corbado/example-passkeys-ruby-react","last_synced_at":"2026-03-05T12:03:28.194Z","repository":{"id":201585291,"uuid":"700360531","full_name":"corbado/example-passkeys-ruby-react","owner":"corbado","description":"Ruby on Rails \u0026 React repository of a sample app that offers passkey authentication.","archived":false,"fork":false,"pushed_at":"2024-10-16T16:23:04.000Z","size":5439,"stargazers_count":9,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-10T22:09:06.189Z","etag":null,"topics":["faceid","fido2","javascript","passkey","passkeys","react","ruby","ruby-on-rails","touchid","webauthn"],"latest_commit_sha":null,"homepage":"https://www.corbado.com/passkeys/ruby-on-rails","language":"JavaScript","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-10-04T13:01:16.000Z","updated_at":"2025-01-12T17:59:31.000Z","dependencies_parsed_at":"2025-04-10T22:07:05.079Z","dependency_job_id":null,"html_url":"https://github.com/corbado/example-passkeys-ruby-react","commit_stats":null,"previous_names":["corbado/example-passkeys-ruby-react"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/corbado/example-passkeys-ruby-react","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corbado%2Fexample-passkeys-ruby-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corbado%2Fexample-passkeys-ruby-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corbado%2Fexample-passkeys-ruby-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corbado%2Fexample-passkeys-ruby-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/corbado","download_url":"https://codeload.github.com/corbado/example-passkeys-ruby-react/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corbado%2Fexample-passkeys-ruby-react/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30123734,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T11:11:57.947Z","status":"ssl_error","status_checked_at":"2026-03-05T11:11:29.001Z","response_time":93,"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":["faceid","fido2","javascript","passkey","passkeys","react","ruby","ruby-on-rails","touchid","webauthn"],"created_at":"2024-11-24T16:17:22.903Z","updated_at":"2026-03-05T12:03:28.172Z","avatar_url":"https://github.com/corbado.png","language":"JavaScript","readme":"# Ruby on Rails \u0026 React Passkey Example App\n\nThis is a sample implementation of a Ruby on Rails application with a React.js frontend that offers passkey\nauthentication. For simple passkey-first authentication, the Corbado UI components are used.\n\nPlease read the [full blog post](https://www.corbado.com/blog/passkeys-ruby-on-rails-react) to see all the required\nsteps to integrate passkeys into a Ruby on Rails / React app.\n\n## File structure\n\n```\n...\n├── app\n|   ...\n|   ├── controllers\n|   |   └── pages_controller.rb    # Controller for our pages\n|   |\n├── config\n|   ...\n|   ├── environments                  \n|   |   ├── development.rb         # Development environment config\n|   |   └── production.rb          # Production environment config\n|   |\n|   └── routes.rb                  # The Ruby on Rails routes are configured here\n|\n└── frontend\n    ...\n    ├── .env\n    └── src                  \n        ...\n        ├── index.js               # Root of our React.js app which also contains the React.js routes \n        └── routes                  \n            ├── login.js           # Login page containing the Corbado auth component\n            └── profile.js         # Profile page showing information about the current user\n```\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\nOpen the `development.rb` and `production.rb` files under /config/environments and set the `corbado_project_id` variable\nto your Corbado project ID.\n\n## Usage\n\nBuild the React frontend by heading into the frontend folder with\n\n```bash\ncd frontend\n```\n\nand then run\n\n```bash\nnpm i \u0026\u0026 npm run build\n```\n\nThen, you can run the project locally by executing the following command:\n\n```bash\nbin/rails s\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorbado%2Fexample-passkeys-ruby-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcorbado%2Fexample-passkeys-ruby-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorbado%2Fexample-passkeys-ruby-react/lists"}