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
Everything seems to work fine in my nuxt-auth implementation so far. However, I get discouraged when I refresh the page and I get logged out if there's a sudden trip in the network that causes the GET request not to be processed.
So my question is, Is there a way to persist the user in the local storage immediately after I log in so that I can get all data from the persisted local storage?
This discussion was converted from issue #1227 on January 19, 2022 09:46.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Everything seems to work fine in my nuxt-auth implementation so far. However, I get discouraged when I refresh the page and I get logged out if there's a sudden trip in the network that causes the GET request not to be processed.
So my question is, Is there a way to persist the user in the local storage immediately after I log in so that I can get all data from the persisted local storage?
This is how my login is being implemented so far.
Beta Was this translation helpful? Give feedback.
All reactions