How to use Laravel Passport with Password Grant Tokens?
If you are consuming your own api then you don’t need to call http://example.com/oauth/token for user login because then you need to store client_id and client_secret at app side. Better you create an api for login and there you can check the credentials and generate the personal token. public function login(Request $request) { $credentials = … Read more