maybe a prototype, maybe it will go in production
Something went wrong. Try again.
fix(oauth): request rpc scope for external service-auth minting master
bsky refuses getServiceAuth unless the session token holds the matching rpc scope (403 ScopeMissingError on bootstrap step 2). externalScope() now yields 'rpc:com.atproto.server.createAccount?aud=<space did>' alone; the PAR leg composes 'atproto <rpc>' at the call site and the client metadata merges it after the linji scope, so the 'atproto' token is never declared twice (bsky rejects duplicate scopes in client metadata). space host DID resolved up front in serve().
Author iacore Date (Aug 2, 2026, 5:30 AM UTC) Commit 3da17598 3da17598aa65ab7eeb9d149eb3a04cf3f751c736 Parent 07d36d55 07d36d55bbcc631e33416b5395f16d6a44b90ab5