const data = await authClient.signIn.social({
provider: "google", // or any other provider
callbackURL: "/dashboard", // URL for existing users
newUserCallbackURL: "/onboarding", // URL for first-time users
});
const data = await authClient.signIn.social({
provider: "google", // or any other provider
callbackURL: "/dashboard", // URL for existing users
newUserCallbackURL: "/onboarding", // URL for first-time users
});