AppView in a box as a Vite plugin thing hatk.dev

fix(oauth): resolve a handle by DNS and well-known before asking any PDS

A handle was resolved by asking one PDS: the local one in dev, the one behind a self-hosted relay, or bsky.social. Whichever it was, it only knew its own handles, so on a network whose members live on other hosts a sign-in failed at the first step with "resolveHandle failed: 400". The protocol defines two ways to resolve a handle that work for any PDS — the `_atproto` TXT record and the well-known document — and both are now asked first. The PDS fallback stays for names neither can answer: a dev network's `.test` handles have no DNS and no TLS. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>


Author chadtmiller.com
Co-author Claude Fable 5.1 Date Commit Parent 23e005dc
+108 -16
3 changed files
+108 -16
3 changed files