Laravel 5.3 manual authentication
<p><strong>Authenticate user by link (Laravel 5.3)</strong></p>

<p>I'm trying to authenticate user when he follows a special link.
I find the user by the link parameters and authenticate him like this</p>

<pre><code>Auth::loginUsingId($client-&gt;id);
</code></pre>

<p>After that <code>Auth::user()</code> returns the user I needed, that's all fine.</p>

<p>But when I trying to acccess user's profile page it redirects me to <code>/login</code>.</p>

<p>If I log in in browser using the same user's credentials I can see the profile page.
Seems that it doesn't save info to session.</p>

<p>What have I missed?</p>