From 0dbc33a145f6e134b9d4ac626198fcc5e0961a8c Mon Sep 17 00:00:00 2001 From: Michael Dausmann Date: Mon, 2 Jan 2023 17:04:04 +1100 Subject: [PATCH] Attempt a client side navigate post sign in --- pages/login.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/login.vue b/pages/login.vue index 59c382c..7212b99 100644 --- a/pages/login.vue +++ b/pages/login.vue @@ -9,6 +9,7 @@ const { data, error } = await supabase.auth.signInWithOAuth({ provider: 'google', }) + 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. }