-
Notifications
You must be signed in to change notification settings - Fork 910
Closed
Labels
Description
Version
Reproduction link
Steps to reproduce
Visit a protected route by clicking a nuxt-link, and it loads correctly.
Then refresh the page
What is expected ?
Protected page loads
What is actually happening?
Redirect to login
Additional comments?
Hi!
I'm a bit confused as to why this is happening. I'm using a pretty basic set up (local scheme, universal storage).
As soon as I refresh the page, I'm redirected (302 from nuxt) to the login page. I did a bit of debugging and this seems to be because loggedIn isn't set in the cookie state.
All of the other cookies are there, but i'm still redirected :(
I'll do some more digging and try find some more info & a repro
LucasLeandro1204, papakay, NAVI-91, gnncl, truesteps and 27 morekawashimaken, fire-papaya, abdu4188, Dahdoul, fabiom91 and 5 more