From f34a6495d5f0835f9ed93774f3abb3296fc6be1f Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Sat, 27 Sep 2025 20:32:21 +0000 Subject: [PATCH] OAuth callback should return to login so effect handles routing cgen-c4029dcaa501418fb84b22c2af88fc9d --- client/contexts/AuthContext.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/contexts/AuthContext.tsx b/client/contexts/AuthContext.tsx index 235c1c31..5eaa4c67 100644 --- a/client/contexts/AuthContext.tsx +++ b/client/contexts/AuthContext.tsx @@ -209,7 +209,7 @@ export const AuthProvider: React.FC<{ children: React.ReactNode }> = ({ const { data, error } = await supabase.auth.signInWithOAuth({ provider, options: { - redirectTo: `${window.location.origin}/onboarding`, + redirectTo: `${window.location.origin}/login`, }, });