title: Laravel Passport 404
body: <p>I installed Laravel Passport using the Laravel docs, the Laravel version is 5.4.</p>
  
  <p>Everything worked fine so far now I add these lines into my view:</p>
  
  <pre><code>      &lt;!-- let people make clients --&gt;
        &lt;passport-clients&gt;&lt;/passport-clients&gt;
  
        &lt;!-- list of clients people have authorized to access our account --&gt;
        &lt;passport-authorized-clients&gt;&lt;/passport-authorized-clients&gt;
  
        &lt;!-- make it simple to generate a token right in the UI to play with --&gt;
        &lt;passport-personal-access-tokens&gt;&lt;/passport-personal-access-tokens&gt;
  </code></pre>
  
  <p>The Ui looks good, but if I try to add a new Client or Token I get this message:</p>
  
  <blockquote>
    <p>Whoops! Something went wrong!</p>
  
  <pre><code>Something went wrong. Please try again.
  </code></pre>
  </blockquote>
  
  <p>And my Chrome dev console shows me following:</p>
  
  <pre><code>GET http://192.168.3.80/oauth/tokens 404 (Not Found) app.js:1175
  GET http://192.168.3.80/oauth/personal-access-tokens 404 (Not Found) app.js:1175
  GET http://192.168.3.80/oauth/scopes 404 (Not Found) app.js:1175
  </code></pre>
  
  <p>I followed the steps writing in the docs: <a href="https://laravel.com/docs/5.4/passport" rel="nofollow noreferrer">https://laravel.com/docs/5.4/passport</a></p>
  
  <p>Afterwards I followed the steps at the video which are the same but it still does not work. <a href="https://laracasts.com/series/whats-new-in-laravel-5-3/episodes/13" rel="nofollow noreferrer">https://laracasts.com/series/whats-new-in-laravel-5-3/episodes/13</a></p>
  
  <p>If I press on a button I get this post error in the dev console:</p>
  
  <p>POST <a href="http://localhost/oauth/clients" rel="nofollow noreferrer">http://localhost/oauth/clients</a> 404 (Not Found)
  POST <a href="http://localhost/oauth/clients" rel="nofollow noreferrer">http://localhost/oauth/clients</a> 404 (Not Found)
  POST <a href="http://localhost/oauth/clients" rel="nofollow noreferrer">http://localhost/oauth/clients</a> 404 (Not Found)</p>
  
  <p>So it is due to the path?</p>
  
  <p>The vue file shows this:</p>
  
  <p>Clients.vue</p>
  
  <pre><code>        store() {
              this.persistClient(
                  'post', '/oauth/clients',
                  this.createForm, '#modal-create-client'
              );
          },
  </code></pre>