Closed ThamanVelasquezBice closed 2 years ago
More details: it only happens when the route is hit without proper authentication. An example would be with having an incorrect access_token.
It was referenced a while back in the oauth2-server package that Passport uses: https://github.com/thephpleague/oauth2-server/issues/784
I am unsure if this is related to this package or Laravel passport in general. I followed the install instructions and went to test a random route with the auth middleware. I received this error:
this is the function located in that file on that line:
I am on Lumen 5.4