Closed RadBe closed 1 year ago
After this commit https://github.com/nuxt-alt/auth/commit/d45f976497189209cd0348ef603213752543809e refresh token not called. With my config
auth: { strategies: { localStorage: false, local: { scheme: 'refresh', token: { property: 'token', global: true, maxAge: 60 }, refreshToken: { property: 'refreshToken', data: 'token', maxAge: 86400 * 30 //30d }, endpoints: { csrf: false, login: { url: 'http://localhost:3001/api/auth/login', method: 'post' }, logout: { url: 'http://localhost:3001/api/auth/logout', method: 'post' }, user: { url: 'http://localhost:3001/api/auth/user', method: 'get' }, refresh: { url: 'http://localhost:3001/api/auth/refresh', method: 'post' }, }, user: { property: 'account', autoFetch: true }, }, } }
I also get constant logouts...
After this commit https://github.com/nuxt-alt/auth/commit/d45f976497189209cd0348ef603213752543809e refresh token not called. With my config