Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Authentication with server-side rendering #560
Steps to reproduce
User should be authenticated on page refresh.
The user is not authenticated when the page is refreshed. This is because the first request is rendered on the server, because of this I'm receiving "window is not defined" errors.
I am using Nuxt (Vue) on the front-end for server rendering the first request.
This was referenced
Jan 19, 2018
There is now a recipe showing how to use Feathers authentication with Express middleware (including server side rendering) at https://docs.feathersjs.com/guides/auth/recipe.express-middleware.html