I am working on an API at the moment and have hit a brick wall. I am using Passport with the \'Password\' grant type.
I want to return the user information with the
Another better answer from the web
Custom Laravel Passport BearerTokenResponse
https://gist.github.com/messi89/489473c053e3ea8d9e034b0032effb1d