Skip to content

Commit e624da6

Browse files
authored
Update auth-action.ts
1 parent d845afb commit e624da6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/server-action/auth-action.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export async function socialLogin(provider: 'google' | 'github') {
8383
const { data, error } = await supabase.auth.signInWithOAuth({
8484
provider,
8585
options: {
86-
redirectTo: `${process.env.NEXT_PUBLIC_SITE_URL}/auth/callback`,
86+
redirectTo: `${process.env.NEXT_PUBLIC_SITE_URL}/api/auth/callback`,
8787
},
8888
});
8989

0 commit comments

Comments
 (0)