Answer the question
In order to leave comments, you need to log in
How does Nuxt Auth work?
The bottom line is, I can’t understand how Nuxt Auth in an application with SSR enabled throws a token into the context of the nuxtServerInit hook? Essentially this hook is called on the server when the nuxt application is initialized before giving it to the user, but somehow Nuxt Auth first gets the token from the cookie, then passes it to the context on the server... How is this even possible? I tried to look at the source files, I didn’t understand anything ... It’s the logic that matters, how does the cookie token get to the nuxt server?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question