{"id":21590244,"url":"https://github.com/corbado/example-passkeys-astro","last_synced_at":"2025-05-05T17:21:07.299Z","repository":{"id":251235527,"uuid":"836156929","full_name":"corbado/example-passkeys-astro","owner":"corbado","description":"Astro repository of a sample app that offers passkey authentication.","archived":false,"fork":false,"pushed_at":"2024-08-29T09:59:44.000Z","size":63,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-24T16:17:11.486Z","etag":null,"topics":["astro","faceid","javascript","passkey","passkey-authentication","passkeys","passwordless-authentication","touchid","webauthn"],"latest_commit_sha":null,"homepage":"https://www.corbado.com/blog/astro-passkeys","language":"Astro","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}},"created_at":"2024-07-31T09:10:11.000Z","updated_at":"2024-09-20T12:06:17.000Z","dependencies_parsed_at":"2024-08-01T18:08:57.487Z","dependency_job_id":null,"html_url":"https://github.com/corbado/example-passkeys-astro","commit_stats":null,"previous_names":["corbado/example-passkeys-astro"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corbado%2Fexample-passkeys-astro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corbado%2Fexample-passkeys-astro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corbado%2Fexample-passkeys-astro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corbado%2Fexample-passkeys-astro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/corbado","download_url":"https://codeload.github.com/corbado/example-passkeys-astro/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235466133,"owners_count":18994726,"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":["astro","faceid","javascript","passkey","passkey-authentication","passkeys","passwordless-authentication","touchid","webauthn"],"created_at":"2024-11-24T16:17:13.549Z","updated_at":"2025-01-24T16:20:53.573Z","avatar_url":"https://github.com/corbado.png","language":"Astro","readme":"# Astro Passkey Example App\n\nThis is a sample implementation of the Corbado web-js package integrated into a web application built with Astro.\n\nPlease see the full [blog post](https://www.corbado.com/blog/astro-passkeys) to understand the detailed steps needed to integrate passkeys into Astro apps.\n\n## File Structure\n\n- `src/components/PasskeyList.astro`: Component for displaying the list of passkeys.\n- `src/pages/Login.astro`: Page component for the sign-up / login screen.\n- `src/pages/Profile.astro`: Page component for the user profile information shown after successful authentication.\n\n## Setup\n\n### Prerequisites\n\n1. Follow the steps in [Getting started](https://docs.corbado.com/) to create and configure a project in the [Corbado developer panel](https://app.corbado.com/#login-init).\n2. Add your project's ID to an environment file as shown in the `.env.example` file.\n3. Ensure you have Node.js and npm installed to run the application.\n\n### .env File\n\nCreate a `.env` file in the root of your project and add your Corbado project ID:\n\n```plaintext\nPUBLIC_CORBADO_PROJECT_ID=your_corbado_project_id\n```\n\n### Usage\n\n1. **Install Dependencies**:\n\n   ```bash\n   npm install\n\n2. **Run the Project Locally**:\n   ```bash\n   npm run dev\n   ```\nYour application will start at `http://localhost:4321`. You can now see the authentication UI and test the passkey login functionality.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorbado%2Fexample-passkeys-astro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcorbado%2Fexample-passkeys-astro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorbado%2Fexample-passkeys-astro/lists"}