I have created nuxt 3 app with @sidebase/nuxt-auth@0.6.7 for authentication.It was able to connect to backend api(.NET) /login and /user-info sucessfully but when redirect after login, still redirect back to /login page.
I tried to prevent redirect after login using await signIn({user_name: 'test', password: 'user'}, { redirect: false });
and when I logged useAuth(), status is "authenticated" and token has value.
auth configuration in nuxt.config.ts
auth: { globalAppMiddleware: true, baseURL: process.env.API_BASE_URL, provider: { type: 'local', pages: { login: '/login' }, endpoints: { signIn: { path: '/login', method: 'post' }, signOut: false, getSession: { path: '/user-profile', method: 'get' } } } }