Implicit conversion of keys from strings is deprecated. Please use InMemory or LocalFileReference classes. [Laravel/Passport]
lcobucci/jwt:3.4 has this problem, you can downgrade to 3.3,
composer require lcobucci/jwt:3.3 can resolve it.
config\jwt.php file Change :
'jwt' => Tymon\JWTAuth\Providers\JWT\Lcobucci::class,
'jwt' => Tymon\JWTAuth\Providers\JWT\Namshi::class,
As said before,
lcobucci/jwt:3.4 is causing this issue, which can be solved by downgrading to 3.3.*.
However, if you have declared something like this:
you need to remove the
^ because v3.4 would still be downloaded. Please keep in mind, using a newer version might be better because of bugfixes and other stuff, so make sure to update the respective logic to work with a newer version of the dependecy.