This plugin does not work at 5.5 oc-420 version due to changes to the way that middleware is handled in 5.5. It needs an update to the develop version of tymons jwtauth which is 5.5 compatible.
JWT Auth API
JSON Web Token Authentication for your OctoberCMS API integrated with RainLab.User
← Back to JWT Auth API Support
Sorry but even latest dev version of tymon/jwt-auth is not 5.5 compatible yet. It got "illuminate/auth": "5.1. || 5.2. || 5.3. || 5.4.", in composer wich means only 5.4 laravel max
Found fork compatible with 5.5. But there is a problem in the way plugin instanciates auth singleton:
App::singleton('auth', function ($app) {
return new \Illuminate\Auth\AuthManager($app);
});
This gives error
Target [Illuminate\\Contracts\\Auth\\Guard] is not instantiable while building [Tymon\\JWTAuth\\Providers\\Auth\\Illuminate]. at \/home\/rybachuk\/gek.dp.ua\/edu\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/Container.php:918
can't figure out yet how to solve this
Got the similar issue too.
Unresolvable dependency resolving [Parameter #0 [
In my project with this plugin I decided to rollback to 419 build with Laravel 5.1 for now because there are too much thing that need to be adjusted in tymon's package itself. Need to wait stable version and even after that could be October related issues for example how to init middlewares properly
Reference: https://github.com/tymondesigns/jwt-auth/issues/1298
You may do the following for time being: "Go to JWTGenerateCommand.php file located in vendor/tymon/src/Commands and paste this part of code --> public function handle() { $this->fire(); }"
Hi, can someone please confirm if this has been resolved? I have the same issue on Build 423 but this was working before the update:
Unresolvable dependency resolving [Parameter #0 [ <required> $app ]] in class Illuminate\Auth\AuthManager /Users/onyekam/Sites/jambolonew/vendor/laravel/framework/src/Illuminate/Container/Container.php line 933
Last updated
vdomah said:
In my project with this plugin I decided to rollback to 419 build with Laravel 5.1 for now because there are too much thing that need to be adjusted in tymon's package itself. Need to wait stable version and even after that could be October related issues for example how to init middlewares properly
i just installed the plugin and i am facing the problem , any idea how to solve this problem urgent
1-14 of 14