Skip to content

Commit e0b8d3d

Browse files
wim07101993Copilot
andauthored
feat: list user passkeys (#640)
## Summary - Added list passkeys endpoint ## Validation - `go run ./... -tags postgres_integration` ## Release notes / changeset - Changeset: .changeset/list-user-passkeys.md ## Notes --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 4b984af commit e0b8d3d

31 files changed

Lines changed: 2391 additions & 44 deletions

.changeset/list-user-passkeys.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
"@zitadel/server": minor
3+
"@zitadel/api": minor
4+
---
5+
6+
Add `GET /users/{user_id}/passkeys` to list a user's registered passkeys,
7+
returning each passkey's `id`, `name`, and `created_at`. Requires an OAuth2
8+
bearer with the `user.read` scope.
9+
10+
Registered passkeys now get a name of their own instead of reusing the user's
11+
display name, which was the same for every passkey a user registered (and empty
12+
whenever the flow collected no identifier). A passkey takes the name the
13+
registering caller supplies, and otherwise one derived from the credential
14+
itself: `Security key`, `Synced passkey`, or `Device-bound passkey`.

api/generated/oas_client_gen.go

Lines changed: 196 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)