I am trying to implement Authentication for a Nuxtjs + Laravel app.
I would like my app to allow register + login with email and social (google, facebook, linkedin and twitter).
What is the best way to approach this? Should the auth happen in the back-end (Laravel) via Nuxt making API calls to the back-end? Are there other approaches? Pros and cons? Pointers to github repos are appreciated! I love to copy-and-paste :D
PS. Also I've heard about JWT but don't understand how it's any better than regular auth.
Hi KP, as I see you don't have any responses still, the only help I have as of now is here: github.com/lilianaziolek/vue-full-...
The rest of this app is either not applicable to you (Java) or not how I'd do it now (knowing Nuxt better now - this was written over a year ago, when I was still very much a Vue/Nuxt newbie) - but perhaps it will give you something to start with.