How to use Laravel passport for Auth and Lumen as api
问题 I am researching for develop an API consumed application using laravel, laravel passport , lumen and AngularJS I have 3 domains as follows auth.dev - Laravel 5.4 + Passport oAuth server ( as a auth server ) api.dev - Lumen ( as a API seaver ) app.dev - php + angularjs ( single page app ) I can not properly configure those 3 together. I have setup auth.dev and it will successfully generate Tokens and I can use them from app.dev . But my requirement is use 3 separate instance for API, Auth and