title: How to store Auth session
body: <p>I'm new in Laravel and firebase and I did the login and password validation by myself, but I would like to use the  <code>Route::group(['middleware' =&gt; ['auth']])</code>, function to protect unauthorized access to the system, but I don't know how to tell Laravel that the user is already authenticated without using <code>Auth::attempt($credentials)</code>.</p>
  
  <p>So how can I set the user is authenticated already, redirect the user to main page passing the login(name of the user) to Auth.</p>
  
  <pre><code>if (Auth::attempt($credentials)) { //I need to replace this line setting the user is logged already
    return redirect()-&gt;route('home');
  }
  </code></pre>
  
  <p>I tried: <code>Auth()-&gt;login($nickname);</code></p>
  
  <p>But I received:</p>
  
  <blockquote>
    <p>Argument 1 passed to Illuminate\Auth\SessionGuard::login() must be an instance of Illuminate\Contracts\Auth\Authenticatable, string given</p>
  </blockquote>