nuxt-alt / auth

An alternative module to @nuxtjs/auth
https://nuxt-alt-auth.vercel.app/
MIT License
96 stars 20 forks source link

Can't login after upgrading to Nuxt 3.3.2 #43

Closed rashidpathiyil closed 1 year ago

rashidpathiyil commented 1 year ago

Getting this error after upgrading to Nuxt 3.3.2 and the user API not working because it's calling without cookie session id after login

WARN  Sourcemap for "virtual:nuxt:/Users/rashidpathiyil/<project>/.nuxt/http.plugin.mjs" points to missing source files

WARN  Sourcemap for "virtual:nuxt:/Users/rashidpathiyil/<project>/.nuxt/auth.plugin.mjs" points to missing source files
rashidpathiyil commented 1 year ago

This should be resolved in the latest Vite release (v4.2.1) via vitejs/vite#12444. Perhaps try refreshing your lockfile and confirming?

The error is gone when I run this again

image

But the login only works after downgrading this

"@nuxt-alt/auth": "2.2.0", "@nuxt-alt/http": "1.5.7",