Closed Tlaloc-Es closed 2 years ago
This is the status after call login:
Finnaly works with the following configuration:
auth: {
redirect: {
login: '/login',
logout: '/login',
home: '/',
},
strategies: {
cookie: {
options: {
httpOnly: true,
path: '/',
},
user: {
property: false,
autoFetch: false,
},
endpoints: {
login: { url: '/api/login', method: 'post' },
logout: { url: '/api/logout', method: 'post' },
},
},
},
},
Version
module: 5.0.0-1648802546.c9880dc nuxt: ex: 2.14.5
Nuxt configuration
mode:
Nuxt configuration
Reproduction
What is expected?
console.log(this.$auth.loggedIn); -> True
What is actually happening?
I get the 200 from login with the user data but console.log(this.$auth.loggedIn); is always false.
Steps to reproduce
Additional information
Checklist
Steps to reproduce
What is expected?
What is actually happening?
Performance analysis?