This commit is contained in:
2025-06-19 15:09:35 +09:00
parent 01c4c543fc
commit 50516fee21
3 changed files with 26 additions and 1 deletions

View File

@@ -80,7 +80,8 @@ export class OAuthService {
}
// Get profile information using authenticated agent
if (this.agent) {
// Skip test DIDs
if (this.agent && did && !did.includes('test-')) {
try {
await new Promise(resolve => setTimeout(resolve, 300))
const profile = await this.agent.getProfile({ actor: did })
@@ -98,6 +99,8 @@ export class OAuthService {
console.log('Failed to get profile from session:', error)
// Keep the basic info we have
}
} else if (did && did.includes('test-')) {
console.log('Skipping profile fetch for test DID:', did)
}
this.sessionInfo = {