From 98edbc45889fc02dff6783759f21712218803d1b Mon Sep 17 00:00:00 2001 From: Nevo David Date: Thu, 27 Nov 2025 00:42:27 +0700 Subject: [PATCH] feat: fix farcaster --- apps/frontend/src/components/auth/nayner.auth.button.tsx | 1 + .../src/integrations/social/farcaster.provider.ts | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/frontend/src/components/auth/nayner.auth.button.tsx b/apps/frontend/src/components/auth/nayner.auth.button.tsx index 345828eb..68cd5667 100644 --- a/apps/frontend/src/components/auth/nayner.auth.button.tsx +++ b/apps/frontend/src/components/auth/nayner.auth.button.tsx @@ -31,6 +31,7 @@ export const NeynarAuthButton: FC<{ ) { authWindowRef.current?.close(); window.removeEventListener('message', handleMessage); // Remove listener here + delete event.data.user.profile; const _user = { signer_uuid: event.data.signer_uuid, ...event.data.user, diff --git a/libraries/nestjs-libraries/src/integrations/social/farcaster.provider.ts b/libraries/nestjs-libraries/src/integrations/social/farcaster.provider.ts index 9c0d8492..32e68bfa 100644 --- a/libraries/nestjs-libraries/src/integrations/social/farcaster.provider.ts +++ b/libraries/nestjs-libraries/src/integrations/social/farcaster.provider.ts @@ -64,7 +64,6 @@ export class FarcasterProvider codeVerifier: string; refresh?: string; }) { - console.log(Buffer.from(params.code, 'base64').toString()); const data = JSON.parse(Buffer.from(params.code, 'base64').toString()); return { id: String(data.fid),