Open fahjan opened 2 years ago
Tymon\JWTAuth
…PHPOpenSourceSaver\JWTAuth
You're mixing up two different packages. Whilst, due to the renamed namespace, technically both can co-exist, I doubt the can be used simultaneously as they're supposed to fill in for the same feature.
Either only use Tymon\JWTAuth or only use PHPOpenSourceSaver\JWTAuth please.
your code in abstract class her. how can i use only Tymon\JWTAuth .
FYI. i use this https://github.com/bagisto/headless-ecommerce
Subject of the issue
Tymon\JWTAuth\Blacklist::__construct(): Argument #1 ($storage) must be of type Tymon\JWTAuth\Contracts\Providers\Storage, PHPOpenSourceSaver\JWTAuth\Providers\Storage\Illuminate given, called in /vendor/tymon/jwt-auth/src/Providers/AbstractServiceProvider.php on line 284"
Your environment
| Package version | 1.x.y | PHP version | 8.1