-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
Description
Environment
chrome
Macos
Node 20
Nuxt 3.12.1
Nuxt Config
auth: {
globalMiddleware: true,
strategies: {
local: {
token: {
property: 'data.token',
maxAge: 1000 * 60 * 60, // 1 hour
global: true,
},
user: {
property: 'data', // `user` property is now `user.property`
autoFetch: true,
},
endpoints: {
login: { url: '/auth/signin', method: 'post' },
user: { url: '/member/getMemberProfile', method: 'get' },
logout: { url: '/auth/logout', method: 'post' },
},
},
},
redirect: {
login: '/account/login',
logout: '/',
callback: '/',
home: '/',
},
},Reproduction
Describe the bug
after upgrade to new version off nuxt 3.12.1. Finally i downgrade to version 3.11.2 and work again
Additional context
Logs
-