diff --git a/pages/index.vue b/pages/index.vue
index 5243f09..b835bbd 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -1,7 +1,13 @@
diff --git a/pages/login.vue b/pages/login.vue
index 7212b99..7f5f08f 100644
--- a/pages/login.vue
+++ b/pages/login.vue
@@ -8,8 +8,9 @@
async function signInWithGoogle() {
const { data, error } = await supabase.auth.signInWithOAuth({
provider: 'google',
+ // options: { redirectTo: 'dashboard'} // the redirectTo option doesn't work
})
- navigateTo('dashboard'); // This doesn't work, it navigates prior to the login handshake completing and then the handshake lands on the index page and ignores the middleware.
+ // navigateTo('dashboard'); // This doesn't work, it navigates prior to the oauth handshake completing and then the handshake lands on the index page and ignores the middleware.
}