NuxtAuthUtils - no auto redirect to Google login page
Hi!
I'm integrating Google OAuth login into my Nuxt app using NuxtAuthUtils. When a user clicks the Google login button in my app, I expect them to be redirected to the Google login page automatically. Instead, they get a 404 error page. If they manually refresh that 404 error page, only then are they redirected to Google login page. I'm trying to figure out why the redirect isn't working right away.
My app Google login button is linking to:
And here's how I defined the route to
What did I miss?
I'm integrating Google OAuth login into my Nuxt app using NuxtAuthUtils. When a user clicks the Google login button in my app, I expect them to be redirected to the Google login page automatically. Instead, they get a 404 error page. If they manually refresh that 404 error page, only then are they redirected to Google login page. I'm trying to figure out why the redirect isn't working right away.
My app Google login button is linking to:
/api/auth/googleAnd here's how I defined the route to
/api/auth/google:What did I miss?
