Session not persisting #174
-
Hi! I've setup nuxt-directus and can successfully login + the cookies get set, yet when refreshing the page or closing the window and returning it seems to lose the session. I have |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Is the cookie set after closing the window? |
Beta Was this translation helpful? Give feedback.
-
I also have the problem that the session seems not persisting if I put a middleware like described in the docs:
I get no errors in the console though. |
Beta Was this translation helpful? Give feedback.
this should work as middleware, I will update the documentation soon.