$this->json('post', route('oauth.access_token'), $body);
means that you're sending a json body with the request, but on the controller dd($request->request); means you're checking the form request.
try this instead:
dd(Request::json());
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community