After adding the Passport::enableImplicitGrant(); in AuthServiceProvider.php then testing with the route 
Route::get('/redirect', function () {
    $query = http_build_query([
        'client_id' => 3,
        'redirect_uri' => 'http://consumer.dev/callback',
        'response_type' => 'token',
        'scope' => '',
    ]);
    return redirect('http://passport.dev/oauth/authorize?'.$query);
});
the result is appended in the https://consumer.dev/callback/ url like this
how to return access token to a json not appended in the url or how to properly used the implicit grant in laravel passport and returning the token to a json format.?
 
     
     
    