title: Connect swagger to Laravel passport
body: <p>I am using Laravel's Passport to generate Password Grant Tokens for my clients. And I am having trouble connecting my swagger to authenticate the calls. Swaggers documentation does not extend too much on password connection set up. So I would really apreciate if someone who had the same issue could share what work for them. </p>
  
  <p>This is my fail configuration so far.</p>
  
  <pre><code>  securityDefinitions:
        oauth:
          type: oauth2
          tokenUrl: 'http://api.com/oauth/token'
          flow: password
          scopes:
            some_scope: create something
  </code></pre>
  
  <p>So, I am getting the form that I was specting, but it just fails to connect. Thanks in advance, If I get this to work I will put it here as this is driving me crazy.</p>
  
  <p>Error:</p>
  
  <pre><code>Auth errorTypeError: Failed to fetch
  </code></pre>