Skip to content

Commit 69d5b56

Browse files
committed
fix: update google auth handler
1 parent dbde81c commit 69d5b56

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/modules/Auth/LoginForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const LoginForm = ({ redirectPath }: LoginFormProps) => {
4747
const handleGoogleLogin = async () => {
4848
await authClient.signIn.social({
4949
provider: "google",
50-
callbackURL: "/dashboard",
50+
callbackURL: `${process.env.NEXT_PUBLIC_API_BASE_URL}/auth/google/success`,
5151
});
5252
};
5353

0 commit comments

Comments
 (0)