fix(oauth): keep stale web tabs from deleting the shared session fix/oauth-stale-instance-dpop-guard

A session object holds its DPoP key in memory but re-reads the token set from the shared store. After a re-login for the same account, a leftover tab or agent signs the new token with its old key, gets 401 invalid_token, forces a refresh, fails again, and deletes the session the live tab is using. Patch @atproto/oauth-client 0.6.1 so an instance whose key no longer matches the stored one returns the 401 without refreshing or deleting.


Author Rishi Balakrishnan Date Commit Parent 0af24fac