Skip to content

Commit 6ea0d5a

Browse files
fixed vite auth callback url login
1 parent 924bdec commit 6ea0d5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Frontend/src/components/login.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function Login() {
4848
const { error } = await supabase.auth.signInWithOAuth({
4949
provider: "google",
5050
options: {
51-
redirectTo: "http://localhost:5173/dashboard",
51+
redirectTo: import.meta.env.VITE_AUTH_CALLBACK_URL,
5252
},
5353
});
5454

0 commit comments

Comments
 (0)