Laravel & AngularJS Authentication
Hey guys, I'm going to start to develop an app that has Laravel for the back-office and then connects via API to the front-office that is going to use AngularJS. I found some tutorials but they are more or less old and I don't really know how they adapt to Laravel 5.3. My idea is to create an API in laravel that will serve as a back-office for many apps that I will create in the future, so that a user by logging in to one app, will have access to the rest of the apps that are connected to the API. I found that the best way was to use JWT tokens for authentication(for example Satellizer), but I have one question.
Do I have to do a login system in the back-office for the admin using the make:auth command and then implement the JWT tokens for the front-office for regular users? Or do I simply implement the JWT tokens and create roles in the User table, and then the login page for both the admin and user will be the same, despite the layouts and content presented will be completely different?
Please or to participate in this conversation.