I am in the midst of separating an application into 2 separate applications – PHP and MYSQL will handle the API / Server side of the app and I am using VueJs to handle the frontend portion. I have the 2 apps communicating and fetching and receiving data with no issues.
I am just failing to grasp on a concept on how to have users sign in through the Vue side and having PHP fetch all the data from the logged in user - not even sure if Vue can handle this sort of functionality - Vue noob here.
A few things I am struggling to understand:
1) Keeping the data in the PHP side of things safe-guarded is a primary concern
2) Sending the login credentials across the 2 apps in a secure manner
Any ideas would greatly be appreciated...not looking for code per-say, just ideas to unblock my brain a little bit.
Thank you,
Sergio