Skip to content

Commit f3c2aa9

Browse files
Merge pull request #9 from Shitanshukumar607/add-auth
no login in development fix?
2 parents b808775 + d029a29 commit f3c2aa9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/login/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const Login = () => {
5959
const { error } = await supabase.auth.signInWithOAuth({
6060
provider,
6161
options: {
62-
redirectTo: `${process.env.SITE_URL}/auth/callback`,
62+
redirectTo: `${window.location.origin}/auth/callback`,
6363
},
6464
});
6565
if (error) throw error;

0 commit comments

Comments
 (0)