Skip to content

fix(pds): serve atproto-did for custom handles#152

Open
rudraksha-avatar wants to merge 2 commits intoascorbic:mainfrom
rudraksha-avatar:fix-atproto-did-handle-mismatch
Open

fix(pds): serve atproto-did for custom handles#152
rudraksha-avatar wants to merge 2 commits intoascorbic:mainfrom
rudraksha-avatar:fix-atproto-did-handle-mismatch

Conversation

@rudraksha-avatar
Copy link
Copy Markdown

Summary

  • serve /.well-known/atproto-did even when HANDLE differs from PDS_HOSTNAME
  • support setups where /.well-known/ is routed from the handle domain to the PDS hostname
  • add a regression test covering domain.com handle with pds.domain.com as the PDS hostname

Notes

This addresses #145.

The previous hostname check caused handle verification to fail for valid routed did:web deployments where the handle domain and PDS hostname are intentionally different.

I could not run the normal pnpm test flow in this environment because pnpm is not installed here, but the change is covered with a focused test.

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