This repository has no description
0

Configure Feed

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

try again

+4 -1
+4 -1
app/src/app/auth/callback/page.tsx
··· 135 135 console.log('Using auth server for token exchange:', authServer); 136 136 console.log('Original PDS endpoint (iss):', tokenPdsEndpoint); 137 137 138 + // Convert null to undefined for type compatibility 139 + const originalPdsEndpoint = tokenPdsEndpoint === null ? undefined : tokenPdsEndpoint; 140 + 138 141 tokenResponse = await getAccessToken( 139 142 code, 140 143 codeVerifier, 141 144 keyPair, 142 145 authServer, 143 146 undefined, // No nonce yet 144 - tokenPdsEndpoint // Pass the original PDS endpoint (from iss) 147 + originalPdsEndpoint // Pass the original PDS endpoint (converted from null to undefined if needed) 145 148 ); 146 149 } catch (tokenError: any) { 147 150 console.error('Token exchange error:', tokenError);