Something went wrong. Try again.
Monorepo for Tangled
Something went wrong. Try again.
appview: don't trust `oauth.ClientSessionData` master
`oauth.ClientSessionData.HostURL` is not validated after first session creation. If user switches the PDS while logged in, `.HostURL` will still point to old PDS, showing account management options for `tngl.sh` users. This can confuse users to accidentally put account in odd state (activated in both PDSes) Instead, always resolve Handles and PDS hosts on-demand. Technically `HostURL` is used on creating authorized atpclient, but that's ok because request to old PDS will reject the request. Ideally we should revoke user sessions on `#account` event, indigo currently doesn't support DID based revoking. Signed-off-by: Seongmin Lee <git@boltless.me>
Author Seongmin Lee Date (Mar 27, 2026, 11:39 AM UTC) Commit 344ba189 344ba189f73a73cce16e47e10c3584e77376064e Parent 5714b9ee 5714b9eedcba67464a2d5b6a2ab311029e61b3f4 Change ID xrpvkpnk xrpvkpnktnszqvsrsmnxltznqvnznnvl