title: Laravel 5.5.45 Unauthenticated with passport
body: <p>Its been more than 3 hours i'm searching for solution.</p>
  
  <p>I have followed <a href="https://laravel.com/docs/5.5" rel="nofollow noreferrer">https://laravel.com/docs/5.5</a> docs to install laravel via composer and followed <a href="https://laravel.com/docs/5.5/passport" rel="nofollow noreferrer">https://laravel.com/docs/5.5/passport</a> guide for passport to install and configure.</p>
  
  <p>I can generate OAuth tokens fine with postman but no matter what i do it always shows Unauthenticated.</p>
  
  <p>Also i had to run commands below to install passport, because it had issue as well in installation as well.</p>
  
  <blockquote>
    <p>composer require paragonie/random_compat:2.* <br />
    composer require laravel/passport=~4.0</p>
  </blockquote>
  
  <p>I tried with multiple installs of laravel and this time i have not modified any laravel code, before i had tried to add days to token expiration which didn't work.</p>
  
  <p>Also have tried these for apache.</p>
  
  <pre><code>RewriteEngine On
  RewriteCond %{HTTP:Authorization} ^(.*)
  RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]
  </code></pre>
  
  <p>These are the screenshots of postman
  <a href="https://i.stack.imgur.com/hN66c.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hN66c.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/nzXkz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nzXkz.png" alt="enter image description here"></a></p>
  
  <p>I'm not sure which code i should share since all i did was just followed official documentation for laravel and passport from laravel site.</p>