title: Unable to get authenticated user using Laravel 5.8 and Auth0
body: <p>I have a Laravel 5.8 API that I want to secure using Auth0.  So far I've followed every step of <a href="https://auth0.com/docs/quickstart/webapp/laravel" rel="nofollow noreferrer">this tutorial</a>:</p>
  
  <ol>
  <li>On the front side, Login/logout links are currently implemented in Blade, and this works fine, though the rendered content on the page is done using Vue Router, making AJAX requests to the API for the data.</li>
  <li>The default <code>User</code> model in Laravel has been modified to store <code>name</code>, <code>sub</code>, and <code>email</code> per the tutorial, and this populates as well.</li>
  <li>The API endpoint is secured using the <code>jwt</code> middleware created during the tutorial, and I can successfully submit a GET along with a <em>hard-coded</em> Bearer auth token in Postman and get a good response.</li>
  </ol>
  
  <p>However, at some point I'd like to be able to pass an access token off to Vue so it can do its thing, but I'm unable to get the current authenticated user.  After hitting Auth0, it redirects back to my callback route with auth gobbledlygook in the URL.  The route in turn loads a <a href="https://github.com/auth0/laravel-auth0/blob/master/src/controllers/Auth0Controller.php#L28" rel="nofollow noreferrer">controller method</a>, and everything even looks good there:</p>
  
  <pre class="lang-php prettyprint-override"><code>// Get the user related to the profile
  $auth0User = $this-&gt;userRepository-&gt;getUserByUserInfo($profile);   // returns good user
  
  if ($auth0User) {
      // If we have a user, we are going to log them in, but if
      // there is an onLogin defined we need to allow the Laravel developer
      // to implement the user as they want an also let them store it.
      if ($service-&gt;hasOnLogin()) {                                  // returns false
          $user = $service-&gt;callOnLogin($auth0User);
      } else {
          // If not, the user will be fine
          $user = $auth0User;
      }
      \Auth::login($user, $service-&gt;rememberUser());     // "normal" Laravel login flow?
  }
  </code></pre>
  
  <p>I'm not an expert on the framework, but the last line above seems to start the "normal" Laravel user login flow.  Given that, shouldn't I see something other than null when I do <code>auth()-&gt;user()</code>, or even <code>app('auth0')-&gt;getUser()</code>?</p>