{"id":22969187,"url":"https://github.com/kyosu-1/passkey-go-example","last_synced_at":"2025-11-09T18:30:19.524Z","repository":{"id":234345691,"uuid":"788687910","full_name":"kyosu-1/passkey-go-example","owner":"kyosu-1","description":"Try passkey in go.","archived":false,"fork":false,"pushed_at":"2024-04-19T03:51:39.000Z","size":100,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-28T04:54:35.094Z","etag":null,"topics":["go","passkey","webauthn"],"latest_commit_sha":null,"homepage":"https://passkey-example.trap.show/","language":"Go","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/kyosu-1.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}},"created_at":"2024-04-18T22:25:11.000Z","updated_at":"2024-06-19T09:15:30.827Z","dependencies_parsed_at":"2024-04-19T00:32:21.379Z","dependency_job_id":"601f9956-a3a3-4662-8cfe-2ae76b061d97","html_url":"https://github.com/kyosu-1/passkey-go-example","commit_stats":null,"previous_names":["kyosu-1/passkey-go-example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyosu-1%2Fpasskey-go-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyosu-1%2Fpasskey-go-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyosu-1%2Fpasskey-go-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyosu-1%2Fpasskey-go-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kyosu-1","download_url":"https://codeload.github.com/kyosu-1/passkey-go-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239576793,"owners_count":19662113,"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":["go","passkey","webauthn"],"created_at":"2024-12-14T21:32:53.808Z","updated_at":"2025-11-09T18:30:19.470Z","avatar_url":"https://github.com/kyosu-1.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# passkey-go-example\n\nGo での Passkey Autofill を試すための実装\n\n以下の二つのライブラリを利用\n\n- https://github.com/go-webauthn/webauthn (client side)\n- https://github.com/MasterKale/SimpleWebAuthn (server side)\n\n## How to run\n\n```bash\ngo run cmd/server/main.go\n```\n\naccess to `http://localhost:8080/` and try to register and login.\n\n## Endpoint\n\n### 登録\n\nパスキーの登録時には以下のエンドポイントを利用\n\n- POST: /attestation/options\n- POST: /attestation/result\n\n![](./images/register.png)\n\n(出典：[ウェブ認証 API – Web API | MDN](https://developer.mozilla.org/ja/docs/Web/API/Web_Authentication_API) )\n\n### 認証\n\nパスキーによる認証時には以下のエンドポイントを利用\n\n- POST: /assertion/options\n- POST: /assertion/result\n\n![](./images/authentication.png)\n\n(出典：[ウェブ認証 API – Web API | MDN](https://developer.mozilla.org/ja/docs/Web/API/Web_Authentication_API) )\n\n## Reference\n\n- https://www.w3.org/TR/webauthn-3/\n- https://fidoalliance.org/specs/fido-v2.2-rd-20230321/fido-client-to-authenticator-protocol-v2.2-rd-20230321.html\n- https://developer.mozilla.org/ja/docs/Web/API/Web_Authentication_API\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyosu-1%2Fpasskey-go-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkyosu-1%2Fpasskey-go-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyosu-1%2Fpasskey-go-example/lists"}