We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 169b124 commit 278e2bcCopy full SHA for 278e2bc
1 file changed
src/components/modules/Auth/LoginForm.tsx
@@ -44,7 +44,7 @@ const LoginForm = ({ redirectPath }: LoginFormProps) => {
44
});
45
46
const handleGoogleLogin = () => {
47
- window.location.href = `${process.env.NEXT_PUBLIC_API_BASE_URL}/auth/google?redirect=/dashboard`;
+ window.location.href = `https://cinetube.arifuddincoder.site/api/auth/sign-in/social/google?callbackURL=${encodeURIComponent("https://cinetube.arifuddincoder.site/api/v1/auth/google/success")}`;
48
};
49
50
return (
0 commit comments