[Vuejs]-Sending an auth response using to Vue JS using Lumen

0👍

In lumen app: create a route for example “api/config” by auth middleware that return base user info.
In front app: before start app check response from api/config. if has user info response access to the dashboard.

pay attention to adding auth middleware on all of admin api in lumen.

Leave a comment