{"id":15628061,"url":"https://github.com/sibiraj-s/go-webauthn-example","last_synced_at":"2025-08-13T01:10:18.645Z","repository":{"id":211437197,"uuid":"729094956","full_name":"sibiraj-s/go-webauthn-example","owner":"sibiraj-s","description":"Example react app for illustrating WebAuthn with go-webauthn","archived":false,"fork":false,"pushed_at":"2025-07-05T20:13:22.000Z","size":529,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-05T21:26:44.592Z","etag":null,"topics":["go-webauthn","passkeys"],"latest_commit_sha":null,"homepage":"","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/sibiraj-s.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},"funding":{"github":["sibiraj-s"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2023-12-08T11:58:19.000Z","updated_at":"2025-07-05T20:13:25.000Z","dependencies_parsed_at":"2023-12-16T08:38:59.881Z","dependency_job_id":"d8cc92d5-c3c3-4e89-a37e-5a2dab261ba7","html_url":"https://github.com/sibiraj-s/go-webauthn-example","commit_stats":{"total_commits":38,"total_committers":2,"mean_commits":19.0,"dds":"0.21052631578947367","last_synced_commit":"2d0f81aeaf089cf6a9732a760f62bab61230ad06"},"previous_names":["sibiraj-s/go-webauthn-example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sibiraj-s/go-webauthn-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sibiraj-s%2Fgo-webauthn-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sibiraj-s%2Fgo-webauthn-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sibiraj-s%2Fgo-webauthn-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sibiraj-s%2Fgo-webauthn-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sibiraj-s","download_url":"https://codeload.github.com/sibiraj-s/go-webauthn-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sibiraj-s%2Fgo-webauthn-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266920183,"owners_count":24006711,"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-07-24T02:00:09.469Z","response_time":99,"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":["go-webauthn","passkeys"],"created_at":"2024-10-03T10:20:42.928Z","updated_at":"2025-07-24T23:02:21.924Z","avatar_url":"https://github.com/sibiraj-s.png","language":"TypeScript","funding_links":["https://github.com/sponsors/sibiraj-s"],"categories":[],"sub_categories":[],"readme":"# WebAuthn Demo\n\nA demo for webauthn using go-webauthn\n\n\u003e [!CAUTION]\n\u003e This is just an example, in real world you might want to think about every security aspects.\n\n## Getting Started\n\nClone the repository\n\n```bash\ngit clone https://github.com/sibiraj-s/go-webauthn-example\ncd go-webauthn\n```\n\n## Prerequisites\n\n- Nodejs - can be installed with [nvm](https://github.com/nvm-sh/nvm)\n\n- Golang\n\nUse [Homebrew](https://brew.sh/) to install golang\n\n```bash\nbrew install golang\n```\n\nThese are just recomended ways to install. You can use whatever tools you prefer.\n\n## Directory structure\n\n```\n.\n├── client (Frontend with nextjs)\n└── server (Backend with golang)\n```\n\n## Starting the client dev server\n\nInstall the dependencies using npm\n\n```bash\nnpm install\n```\n\nand then run\n\n```bash\nnpm run dev\n```\n\n## Starting the backend dev server\n\nBefore running the dev server, you need to install some certificates to run the server over https.\n\nInstall [mkcert](https://github.com/FiloSottile/mkcert) for that\n\n```bash\nbrew install mkcert\n```\n\nThen run\n\n```bash\nmkcert -install\n```\n\nThis will ask for password if you are running for the first time.\n\nAfter that, navigate to certs directory\n\n```bash\ncd certs\n# then\nmkcert webauthn.local\n```\n\nAlso, you'd need to add the entry `webauthn.local` to your `/etc/host`\n\n```\n127.0.0.1 webauthn.local\n```\n\nWe are creating the custom domain, to test all the features. Some only work on `https` environment or even password managers like Bitwarden and 1Password or others would pick up some request only on\nsecure context.\n\nNow start the server\n\n```bash\ngo run .\n```\n\nTo start the server with hot reloading. Install [air](https://github.com/air-verse/air) and then run\n\n```bash\nair -c .air.toml\n```\n\nThats it 🎉. You can now visit https://webauthn.local:7890 to see the server running.\n\n\u003e [!NOTE]\n\u003e The go server proxies the requests to next.js dev server running at port 3000.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsibiraj-s%2Fgo-webauthn-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsibiraj-s%2Fgo-webauthn-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsibiraj-s%2Fgo-webauthn-example/lists"}