[FAQ] Argument 3 passed to LcobucciJWTSignerHmac::doVerify() must be an instance of LcobucciJWTSignerKey, null given

出现这个错误,说明没有找到 key,在使用 laravel-jwt 之前需要生成加密 key,使用:

$ php artisan jwt:secret

Link:https://www.cnblogs.com/farwish/p/13881996.html

原文地址:https://www.cnblogs.com/farwish/p/13881996.html