How to handle user authentication in laravel when backend and frontend are split in two git repos

  architecture, authentication, backend, frontend, laravel

I’am working on a larger web app using laravel (v8) because of the expected size to which the project probably will grow I decided to split the frontend and backend into two different repos from the beginning.

Now I want to implement user authentication for the frontend my problem now is how should I approach this. I would know where to start when frontend and backend would be in the same repo but split like this I can’t seem to find a way to wrap my head around it.

FYI: I already implemented token based authentication for my backend routes

Source: Laravel

Leave a Reply