title: Laravel auth with subdomain | Auth for multidomains
body: <p>I want implement auth from subdomain.<br />
  For example..<br />
  Domains:</p>
  <ul>
  <li>Login/Register page: auth.mysite.com</li>
  <li>User dashboard: my.mysite.com</li>
  </ul>
  <p>Route.php:</p>
  <pre><code>Route::domain('auth.mysite.com')-&gt;group(function () {
      Route::get('/login', &quot;SomeControlle@login&quot;);
      Route::get('/register', &quot;SomeControlle@register&quot;);
  });
  Route::domain('my.mysite.com')-&gt;group(function () {
      Route::get('/dashboard', &quot;SomeControlle@dashboard&quot;);
      Route::get('/', &quot;SomeControlle@index&quot;);
      // and others
  });
  </code></pre>
  <p>And I want this auth work with other domains which are connected to my project. (mysite2.com, notmysite.com)
  Users should only have to login once and it will work for every one of my domains, but I have no idea how to do this.</p>