- Passport Version: 10.0
- Laravel Version: 8.16.1
- PHP Version: 7.4.13
- Database Driver & Version: MySQL 5.7.24
Description:
First of all I would like to thank you guys for this wonderful authentication package for laravel, it's my first time trying out this package and I followed the installation guide at https://laravel.com/docs/8.x/passport but when this code block in my controller signup action it throws the error in the title:
$token = $user->createToken('authToken')->accessToken;
Here's the snippet of my code for signup action:

Steps To Reproduce:
- Fresh Laravel 8 installation.
- Followed Laravel Passport Installation guide.