How do you handle authentication with VueJS?
As an example and to set some context, I plan on using Laravel Authentication out of the box to allow users to login to my application, and then within my app I plan on having components on certain pages that will make calls to a JSON endpoint that I will create.
However, how do you protect this JSON endpoint using the login session that has been created in the standard Laravel way? Would I be best placed to do my authentication differently using something like JWT or oAuth?
The way I see it I need some way to protect each JSON / API resource endpoint, and in a full-scale SPA I would usually do this with oAuth / JWT.