manojkumar3692 / Vuejs-Authentication

84 stars 38 forks source link

How the Backend Work #10

Open yusren opened 6 years ago

yusren commented 6 years ago

I'm new in VueJs Working on Laravel5.6 VueJS right now. The ID and Password doesn't work. How's the backend work? Thanks

michalexvr commented 6 years ago

you can define your custom user and profile implementation and add an endpoint to get the session from the backend in each necessary request or sincronize it with your frontend session implementing an watch to catch any 404 response from backend to redirect to login.