Laravel jwt 报错 Argument 3 passed to Lcobucci\JWT\Signer\Hmac::doVerify() must be an instance of Lcobucci\JWT\Signer\Key, null given

通过php artisan jwt:secret解决报错,在.env文件中新增一行JWT_SECRET=secret