Home

Issue: 501

save state on server side

[issue link]

Hi guys,
i like to save the auth state (token and user) on the server-side so that when i refresh the page i keep the user logged in?

i tried using nuxtServerInit() like that

image

but when i refresh on a url that have an auth middleware, i get a redirection to login page.

This question is available on Nuxt.js community (#c440)