Implementing the Passport in lumen
<p>I am trying to implement <a href="https://laravel.com/docs/5.3/passport" rel="nofollow noreferrer">Passport</a> in <a href="https://lumen.laravel.com/" rel="nofollow noreferrer">lumen</a>.</p>

<p>I am using <a href="https://packagist.org/packages/dusterio/lumen-passport" rel="nofollow noreferrer">lumen-passport</a> package, i did successfully install the package in lumen, did configuration as given in documentation.</p>

<p>The response i get is blank or Unauthorized, in api's.</p>

<p>In postmen, Get method</p>

<pre><code>/oauth/tokens
</code></pre>

<p>Gives <code>Unauthorized.</code> in response.</p>

<p>In postmen, Post method</p>

<pre><code>/oauth/token

'grant_type' =&gt; 'password',
'client_id' =&gt; 'client-id',
'client_secret' =&gt; 'client-secret',
'username' =&gt; 'test@laravel.com',
'password' =&gt; 'my-password',
'scope' =&gt; '',
</code></pre>

<p>Getting response blank.</p>

<p>And having same problem with other api's.</p>

<p>Any one having same problem or know what could have gone wrong.</p>