You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I log in to my platform I have a normal login, but when I log out and log in again, I already appear logged in with the last user who logged in, I've already tried doing everything, removing the cloudflare cache, removing all caches possible. I took nuxt hydration, I'm desperate because my app is in production
When I press ctrl+r and it gives getMe, it works normally, but there are times when it doesn't show /me, when it doesn't show /me it crashes with the last login made on the platform
Algúem já teve esse problema?
The text was updated successfully, but these errors were encountered:
Putting more evidence here, when I log in with a person, I think the cookie is being saved in the ssr, so when I log in with another person and press CTRL+R I appear logged in with another person, in this case the last person who logged in , I did this test locally, so it only gets the accounts I logged in to, but if I have it on the server, it gets the last person who logged in, I managed to fix it, but it's giving MANY errors, still setting cookies:false, but all Every time I press ctrl+R it logs out.
And some pages give a bug, because it can't read localStorage on the client side.
Does anyone know if this has happened to you using nuxt2 auth? Would it be one of remodeling my entire login system? I have a similar login on other platforms, I never had this problem...
Version
module:
5.0.0-1648802546.c9880dc
nuxt:
"``^2.15.8
Nuxt configuration
mode:
Nuxt configuration
auth: {
redirect: {
login: "/auth/login",
},
},
What is expected?
When I log in to my platform I have a normal login, but when I log out and log in again, I already appear logged in with the last user who logged in, I've already tried doing everything, removing the cloudflare cache, removing all caches possible. I took nuxt hydration, I'm desperate because my app is in production
When I press ctrl+r and it gives getMe, it works normally, but there are times when it doesn't show /me, when it doesn't show /me it crashes with the last login made on the platform
Algúem já teve esse problema?
The text was updated successfully, but these errors were encountered: