Static GitHub Issues

[2085] [Question] Nuxt way for local and social authentication

prev: Feed the store with window data on application start
next: Generating is putting index.vue on every route

I have 2 options in mind:

  1. setting up my own oauth2 server with oauth2orize, but it seems a bit overkill and I'm still a bit lost on how to set this up

  2. Performing initial auth with passport-local/passport-facebook to issue a jwt used to authenticate each request with passport-http-bearer

I'm really wondering what is recommended with Nuxt?

<!--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/c1850">#c1850</a>)</em></sub></div>