Closed mark-cobra closed 3 years ago
I fixed it! Change the method fire() to handle() within \vendor\tymon\jwt-auth\src\Commands\JWTGenerateCommand.php
Thanks for reporting, but that's bad fix you're proposing. Here is related issue from the Laravel package repo: https://github.com/tymondesigns/jwt-auth/issues/1644 Should use:
php artisan jwt:secret
Need to test this
This issued will be fixed updating tymon/jwt-auth to 1.0.
But newest version has changes. Like class \Tymon\JWTAuth\Providers\JWTAuthServiceProvider
that doesn't exists.
When I run the command I get this error
How can I fix this? Thanks