codeforprinceton / ashtag

Upgrade of AshTag to latest Quasar Framework
MIT License
0 stars 0 forks source link

fixes login #1

Open sdellis opened 6 years ago

sdellis commented 6 years ago

@jrzief the problem had to do with Google redirecting via the signInSuccessUrl: '/hello',

Since this is a SPA, we need to use the router to redirect after login. See lines 35 and 48 for how I fixed it:

https://github.com/codeforprinceton/ashtag-upgrade/blob/fixes-login/src/pages/login.vue#L35 https://github.com/codeforprinceton/ashtag-upgrade/blob/fixes-login/src/pages/login.vue#L48