[main-app] [User] Failed to resolve identity {"error":"Missing required scope \"rpc:com.atproto.identity.resolveIdentity?aud=did:web:api.bsky.app\"","stack":"Error: Missing required scope \"rpc:com.atproto.identity.resolveIdentity?aud=did:web:api.bsky.app\"\n at call (/Users/regent/Developer/wisp.place-monorepo/node_modules/.bun/@atproto+xrpc@0.7.5/node_modules/@atproto/xrpc/dist/xrpc-client.js:76:35)\n at processTicksAndRejections (native:7:39)"} const agent = new Agent(auth.session) let handle = 'unknown' try { const identity = await agent.com.atproto.identity.resolveIdentity({ identifier: auth.did }) handle = identity.data.handle } catch (err) { logger.error('[User] Failed to resolve identity', err) } return { did: auth.did, handle }