Various AT Protocol integrations with obsidian
20
fork

Configure Feed

Select the types of activity you want to include in your feed.

more debug

+4 -1
+1 -1
client-metadata-beta.json
··· 9 9 "grant_types": ["authorization_code", "refresh_token"], 10 10 "response_types": ["code"], 11 11 "token_endpoint_auth_method": "none", 12 - "application_type": "native", 12 + "application_type": "web", 13 13 "dpop_bound_access_tokens": true 14 14 }
+3
src/lib/oauth/oauth.ts
··· 41 41 } 42 42 43 43 async authorize(identifier: string): Promise<Session> { 44 + console.log('[OAuth] Starting authorization for:', identifier); 44 45 const authUrl = await createAuthorizationUrl({ 45 46 target: { type: 'account', identifier: identifier as ActorIdentifier }, 46 47 scope: metadata.scope, 48 + display: 'touch', 47 49 }); 50 + console.log('[OAuth] createAuthorizationUrl completed, auth URL state:', new URL(authUrl).searchParams.get('request_uri')); 48 51 await new Promise((resolve) => setTimeout(resolve, 200)); 49 52 50 53 const waitForCallback = new Promise<URLSearchParams>((resolve, reject) => {