Skip to content

fix(pds): add handle verification and identity events#13

Merged
ascorbic merged 1 commit into
mainfrom
fix/handle-verification
Dec 27, 2025
Merged

fix(pds): add handle verification and identity events#13
ascorbic merged 1 commit into
mainfrom
fix/handle-verification

Conversation

@ascorbic
Copy link
Copy Markdown
Owner

Summary

  • Add /.well-known/atproto-did endpoint for handle verification (returns DID as plain text)
  • Add alsoKnownAs field to DID document for bidirectional handle verification
  • Add #identity event emission capability to notify downstream services to refresh handle cache
  • Add admin endpoint /admin/emit-identity to trigger identity events

Test plan

  • Verified handle resolution: pds.mk.ggdid:web:pds.mk.gg
  • Verified DID document includes alsoKnownAs: ["at://pds.mk.gg"]
  • Emitted identity event and confirmed Bluesky updated handle from handle.invalid to pds.mk.gg
  • Confirmed posts are now being backfilled by Bluesky relay

🤖 Generated with Claude Code

- Add /.well-known/atproto-did endpoint for handle verification
- Add alsoKnownAs field to DID document for bidirectional verification
- Add identity event emission for handle cache refresh
- Add admin endpoint to trigger identity events

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
atproto-pds e3f6855 Dec 27 2025, 11:10 PM

@ascorbic ascorbic enabled auto-merge (squash) December 27, 2025 23:10
@ascorbic ascorbic merged commit 3f7afaa into main Dec 27, 2025
3 checks passed
@ascorbic ascorbic deleted the fix/handle-verification branch December 27, 2025 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant