title: Passport authentication is not working in laravel 5.3
body: <p>I have set-up Laravel using passport as per the documentation here: </p>
  
  <p><em><a href="https://laravel.com/docs/5.3/passport" rel="nofollow">https://laravel.com/docs/5.3/passport</a>.</em></p>
  
  <p>I have written one route in API route and send request <code>http://localhost/laravel_project/public/api/user</code> using postman but its showing me below error:</p>
  
  <blockquote>
    <p>NotFoundHttpException in RouteCollection.php line 161:</p>
  </blockquote>
  
  <p>I have the following route (in routes/api.php):</p>
  
  <pre><code>Route::get('/user', function (Request $request) {
      return array(
        1 =&gt; "John",
        2 =&gt; "Mary",
        3 =&gt; "Steven"
      );
  })-&gt;middleware('auth:api');
  </code></pre>
  
  <p>but when I removed <code>-&gt;middleware('auth:api')</code> line in the route it's working fine for me.</p>
  
  <p><em>How can I fix this?</em></p>
  
  <p><em>Also please tell me if I don't want to add passport authentication in my some routes how can i do this?</em></p>