diff --git a/frontend_nuxt/pages/google-callback.vue b/frontend_nuxt/pages/google-callback.vue index 303b9404c..1785ea328 100644 --- a/frontend_nuxt/pages/google-callback.vue +++ b/frontend_nuxt/pages/google-callback.vue @@ -9,6 +9,7 @@ import { googleAuthWithToken } from '~/utils/google' onMounted(async () => { const hash = new URLSearchParams(window.location.hash.substring(1)) const idToken = hash.get('id_token') + const state = hash.get('state') || '' if (idToken) { await googleAuthWithToken( idToken, @@ -18,6 +19,7 @@ onMounted(async () => { (token) => { navigateTo(`/signup-reason?token=${token}`, { replace: true }) }, + state, ) } else { navigateTo('/login', { replace: true }) diff --git a/frontend_nuxt/pages/login.vue b/frontend_nuxt/pages/login.vue index 518a0b1bf..08d833c1c 100644 --- a/frontend_nuxt/pages/login.vue +++ b/frontend_nuxt/pages/login.vue @@ -35,7 +35,7 @@
-
+ diff --git a/frontend_nuxt/pages/signup.vue b/frontend_nuxt/pages/signup.vue index bdcc5823c..14b074b2f 100644 --- a/frontend_nuxt/pages/signup.vue +++ b/frontend_nuxt/pages/signup.vue @@ -69,7 +69,7 @@
-