We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d845afb commit e624da6Copy full SHA for e624da6
src/lib/server-action/auth-action.ts
@@ -83,7 +83,7 @@ export async function socialLogin(provider: 'google' | 'github') {
83
const { data, error } = await supabase.auth.signInWithOAuth({
84
provider,
85
options: {
86
- redirectTo: `${process.env.NEXT_PUBLIC_SITE_URL}/auth/callback`,
+ redirectTo: `${process.env.NEXT_PUBLIC_SITE_URL}/api/auth/callback`,
87
},
88
});
89
0 commit comments