diff --git a/client/pages/Login.tsx b/client/pages/Login.tsx index 01aa0906..b4d7c07e 100644 --- a/client/pages/Login.tsx +++ b/client/pages/Login.tsx @@ -70,13 +70,12 @@ export default function Login() { } }; - const handleSocialLogin = async (provider: string) => { + const handleSocialLogin = async (provider: 'github' | 'google') => { setIsLoading(true); try { - aethexToast.info({ - title: "Social login", - description: `${provider} login will be implemented in your Supabase setup` - }); + await signInWithOAuth(provider); + } catch (error: any) { + console.error(`${provider} authentication error:`, error); } finally { setIsLoading(false); }