I finally implemented my Laravel-vue js Authentication using passport API I already getting the token and api/user requests. Before I understand I tried to authenticate using the normal process, so I just pass the the data POST to /login by that I am authenticated and got a $_SESSION.
Eventually after I finish implementing passport API I notice that when I attempt to authenticate session doesn't start anymore so I tried to change the middleware to api doesn't work either. So my question are,
- Do I still need to depend on session or its the access_token will take care of the communication to backend?
- Session not starting anymore after implementing the API Auth, is it normal? So I authenticate, I got the tokens and user details but doesn't have session in backend.