We always get production support tickets saying that a problem is happening with specific customers on specific api endpoints. I would like to fetch their auth token from a tinker session, then feed it to postman so that I can call that api and see exactly what they're seeing.
this doesn't work:
$user = User::find(<user_id>);
use Illuminate\Support\Facades\Auth
Auth::login($user)
PHP Warning: unlink(/project/root/storage/framework/sessions/Ug4diWWb****):
No such file or directory in /project/root/bootstrap/cache/compiled.php on line 7538