While actingAsClient add a bearer token
SuperDJ opened this issue · comments
When testing I ran into an issue with the actingAsClient
method not setting a bearer token. The issue is that $request->bearerToken()
is always empty when using actingAsClient
. I think automatically setting a bearer token when using actingAsClient
could help. If it shouldn't be set automatically perhaps it can be set with a parameter. Either by providing a bearer token or a boolean.
Thank you for reporting this issue!
As Laravel is an open source project, we rely on the community to help us diagnose and fix issues as it is not possible to research and fix every issue reported to us via GitHub.
If possible, please make a pull request fixing the issue you have described, along with corresponding tests. All pull requests are promptly reviewed by the Laravel team.
Thank you!
Thank. Feel free to attempt a PR 👍