Static GitHub Issues

[2192] how can i achieve the purpose of stateless login

prev: How to load on demand
next: `npm run generate` have a error 'socket hang up '

becasuse nuxt cannot use localStorage to save user token, so i used "nuxtServerInit" API ,started local server and simulation localstorage through "req.session",.yes, it succeed. however, this req.session only save the current server, when people connect to other servers, this record has disappeared. so i want to know that how to achieve the purpose of stateless login

local server image

nuxtServerInit image

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1933">#c1933</a>)</em></sub></div>