title: Getting user data with Laravel Sanctum
body: <p>I was using Laravel's built-in api token authentication before but I wanted to provide multiple api tokens for different clients and with Laravel 7.x, I'm trying to migrate to Laravel Sanctum.</p>
  <p>API seems authenticates user without any problem but when I try to get user data with <code>Auth::user();</code>, it returns null. Also <code> Auth::guard('api')-&gt;user();</code> returns null too.</p>
  <p>What should I use as Auth guard? Or is it correct way to get user data based on provided token?</p>
  <p>Thank you very much....</p>