Fix Google OAuth redirect URL to include basePath
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -38,7 +38,7 @@ export function GoogleSignInButton() {
|
|||||||
const { error } = await supabase.auth.signInWithOAuth({
|
const { error } = await supabase.auth.signInWithOAuth({
|
||||||
provider: 'google',
|
provider: 'google',
|
||||||
options: {
|
options: {
|
||||||
redirectTo: `${window.location.origin}/auth/callback`,
|
redirectTo: `${window.location.origin}/leopost/auth/callback/`,
|
||||||
queryParams: {
|
queryParams: {
|
||||||
access_type: 'offline',
|
access_type: 'offline',
|
||||||
prompt: 'consent',
|
prompt: 'consent',
|
||||||
|
|||||||
Reference in New Issue
Block a user