Β© 2026 Hedgehog Software, LLC
ERROR [Better Auth]: Provider did not return email. This could be due to misconfiguration in the provider settings.
http://localhost:3000/api/auth/callback/twitter
twitter: { clientId: process.env.TWITTER_CLIENT_ID as string, clientSecret: process.env.TWITTER_CLIENT_SECRET as string, mapProfileToUser: (profile: TwitterProfile) => { console.log("profile", profile); return { twitterHandle: profile.username, email: profile.email as string, name: profile.name as string, image: profile.profile_image_url as string, username: profile.username, }; }, }
@repo/web:dev: profile { @repo/web:dev: data: { @repo/web:dev: name: 'Robin Faraj', @repo/web:dev: profile_image_url: 'https://pbs.twimg.com/profile_images/1855238561395544064/xZgBtaNg_normal.jpg', @repo/web:dev: username: 'robin_faraj', @repo/web:dev: id: '2517496955' @repo/web:dev: } @repo/web:dev: }