Something went wrong. Try again.
Browser extension: detect and subscribe to standard.site publications on ATProto
Something went wrong. Try again.
fix(oauth): exchange the code with this build's own redirect uri master
The token exchange left redirect_uri to the OAuth client, which defaults to clientMetadata.redirect_uris[0] — the store id since 722de74. An unpacked build therefore authorized as itself and exchanged as the store, and the PDS refused it: invalid_grant, "The redirect_uri parameter must match the one used in the authorization request". Sign-in was dead for every install that is not the store one, at the last step of the flow. Both halves now take the URI from one place, the id the build is actually running under. A unit test pins it, including that the metadata's first entry is a different id, so the fallback cannot quietly come back.
Author
permadeath.com Committer Tangled Date (Aug 11, 2026, 6:40 PM UTC) Commit 4ee6fe71 4ee6fe71ba70c8f9314c0fbd422bdb67ee109e40 Parent 8a288556 8a288556b3fe3e6678ad903e94af8c57d2d17b94